diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 00b997a..492f9b7 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -11,6 +11,16 @@ on: paths: - .github/workflows/** +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: {} + +defaults: + run: + shell: bash + jobs: actionlint: runs-on: ubuntu-latest diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 5ef0c0c..5470192 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -17,6 +17,16 @@ on: paths-ignore: - '**.md' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: {} + +defaults: + run: + shell: bash + jobs: check-dist: runs-on: ubuntu-latest diff --git a/.github/workflows/create-release-pr.yml b/.github/workflows/create-release-pr.yml index 7708857..58e8455 100644 --- a/.github/workflows/create-release-pr.yml +++ b/.github/workflows/create-release-pr.yml @@ -4,6 +4,16 @@ name: Create release pull request on: workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: {} + +defaults: + run: + shell: bash + jobs: create-release-pr: runs-on: ubuntu-latest diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml index a9860e5..8b757b1 100644 --- a/.github/workflows/pr-labeler.yml +++ b/.github/workflows/pr-labeler.yml @@ -4,6 +4,16 @@ on: pull_request: types: [ opened ] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: {} + +defaults: + run: + shell: bash + jobs: pr-labeler: if: github.event.pull_request.head.repo.fork == false # Skip on public fork diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 1b5e329..81df3e1 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -10,6 +10,12 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +permissions: {} + +defaults: + run: + shell: bash + jobs: release-drafter: if: github.repository_owner == 'nowsprinting' # Skip on forked repo diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a9edcd3..01abd8e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,16 @@ on: paths: - package.json +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: {} + +defaults: + run: + shell: bash + jobs: check-bump-version: if: github.repository_owner == 'nowsprinting' # Skip on forked repo diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aaa3ee4..080be90 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,6 +15,12 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +permissions: {} + +defaults: + run: + shell: bash + jobs: build: runs-on: ubuntu-latest