Skip to content

Commit

Permalink
CI/Lint: add auto-cancel to redundant workflows, mitigate use while w…
Browse files Browse the repository at this point in the history
…orking on #277

Signed-off-by: Luca Di Maio <[email protected]>
  • Loading branch information
89luca89 committed May 25, 2022
1 parent 4522f29 commit cd49151
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Only run one CI pipeline at a time
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# Check if we indeed modified distrobox stuff
jobs:
check_changes:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Only run one CI pipeline at a time
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
dash:
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/manpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
workflow_dispatch:


# Only run one CI pipeline at a time
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# Prepare distros matrix
jobs:

Expand Down

0 comments on commit cd49151

Please sign in to comment.