Skip to content

Commit

Permalink
Remove the "Cancelling Duplicates" workflow
Browse files Browse the repository at this point in the history
There is now a native way to implement this - the `concurrency` key in
workflows - so use that instead.

This removes another action depending on Node 16
(`potiuk/cancel-workflow-runs`).
  • Loading branch information
SpecLad committed Feb 9, 2024
1 parent b4eed78 commit 6bf6ad7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/cancel.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
- '**/*.md'
workflow_dispatch:

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

jobs:
testing:
if: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- 'site/**'
- '**/*.md'

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

env:
CYPRESS_VERIFY_TIMEOUT: 180000 # https://docs.cypress.io/guides/guides/command-line#cypress-verify
CVAT_VERSION: "local"
Expand Down

0 comments on commit 6bf6ad7

Please sign in to comment.