Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened, edited]
types: [opened, synchronize, reopened]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
contents: read
jobs:
policy:
if: github.event_name == 'pull_request' || github.event_name == 'push'
uses: swift-library/.github/.github/workflows/policy.yml@77682726e1767b1daea9dc935173cfafee60102d
validate:
uses: swift-library/.github/.github/workflows/swift-package-ci.yml@77682726e1767b1daea9dc935173cfafee60102d
uses: swift-library/.github/.github/workflows/swift-package-ci.yml@0bddc0f2824ccf348cd4480a58dc4e7f378eeecc
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ permissions:
contents: read
jobs:
validate:
uses: swift-library/.github/.github/workflows/swift-package-ci.yml@77682726e1767b1daea9dc935173cfafee60102d
uses: swift-library/.github/.github/workflows/swift-package-ci.yml@0bddc0f2824ccf348cd4480a58dc4e7f378eeecc
with:
ref: ${{ inputs.tag }}
publish:
needs: validate
permissions:
contents: write
actions: read
uses: swift-library/.github/.github/workflows/swift-package-release.yml@77682726e1767b1daea9dc935173cfafee60102d
uses: swift-library/.github/.github/workflows/swift-package-release.yml@0bddc0f2824ccf348cd4480a58dc4e7f378eeecc
with:
tag: ${{ inputs.tag }}
accepted_commit: ${{ needs.validate.outputs.commit }}
15 changes: 15 additions & 0 deletions .github/workflows/source-policy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Source policy
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened, edited]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
contents: read
jobs:
policy:
uses: swift-library/.github/.github/workflows/policy.yml@0bddc0f2824ccf348cd4480a58dc4e7f378eeecc
Loading