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/build-image.yml b/.github/workflows/build-image.yml index a95903d..e37ac17 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -13,8 +13,11 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true -env: - DIFF_PDF_VERSION: 'v0.5.2' +permissions: {} + +defaults: + run: + shell: bash jobs: build-and-push-docker-image: @@ -24,6 +27,8 @@ jobs: permissions: contents: read packages: write + env: + DIFF_PDF_VERSION: 'v0.5.2' steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/hadolint.yml b/.github/workflows/hadolint.yml index ba50b6a..8ddf107 100644 --- a/.github/workflows/hadolint.yml +++ b/.github/workflows/hadolint.yml @@ -13,6 +13,16 @@ on: - .github/workflows/hadolint.yml - Dockerfile +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: {} + +defaults: + run: + shell: bash + jobs: lint: 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/shellcheck.yml b/.github/workflows/shellcheck.yml index dc657bc..4e3fa9f 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -13,6 +13,16 @@ on: - .github/workflows/shellcheck.yml - '**.sh' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: {} + +defaults: + run: + shell: bash + jobs: shellcheck: runs-on: ubuntu-latest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e60968b..b94ad11 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,6 +20,12 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +permissions: {} + +defaults: + run: + shell: bash + jobs: test: runs-on: ubuntu-latest diff --git a/.github/workflows/update-major.yml b/.github/workflows/update-major.yml index ae4660d..d5588cb 100644 --- a/.github/workflows/update-major.yml +++ b/.github/workflows/update-major.yml @@ -5,6 +5,16 @@ on: tags: - 'v*' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: {} + +defaults: + run: + shell: bash + jobs: update-major: if: github.repository_owner == 'nowsprinting' # Skip on forked repo