Skip to content

Commit

Permalink
chore(gh): cancel out-dated workflow runs (#1063)
Browse files Browse the repository at this point in the history
  • Loading branch information
timonback authored Nov 8, 2024
1 parent e564e80 commit 19f39bf
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/owasp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
- cron: "48 9 * * 4"
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ permissions:
contents: write
packages: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
publish-release:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/springwolf-addons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
types: [ opened, synchronize, ready_for_review ]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/springwolf-asyncapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
types: [ opened, synchronize, ready_for_review ]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/springwolf-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
types: [ opened, synchronize, ready_for_review ]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/springwolf-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
types: [ opened, synchronize, ready_for_review ]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
checks: write
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/springwolf-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ permissions:
checks: write
id-token: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:

Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/springwolf-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,19 @@ permissions:
checks: write
id-token: write

env:
project: springwolf-ui
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:

runs-on: ubuntu-latest
timeout-minutes: 10

env:
project: springwolf-ui

steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 19f39bf

Please sign in to comment.