Skip to content

Commit

Permalink
remove outdated cancellation (#1074)
Browse files Browse the repository at this point in the history
Co-authored-by: Trajan0x <[email protected]>
  • Loading branch information
trajan0x and trajan0x authored Jun 28, 2023
1 parent d57ae31 commit 8a7b5d9
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 36 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ on:
- '.github/workflows/cypress.yaml'

jobs:
cancel-outdated:
name: Cancel Outdated Jobs
runs-on: ubuntu-latest
steps:
- id: skip_check
if: ${{ format('refs/heads/{0}', github.event.repository.default_branch) != github.ref && !contains(github.event.head_commit.message, '[no_skip]') }}
uses: fkirc/skip-duplicate-actions@v5
with:
cancel_others: 'true'
# cancel-outdated:
# name: Cancel Outdated Jobs
# runs-on: ubuntu-latest
# steps:
# - id: skip_check
# if: ${{ format('refs/heads/{0}', github.event.repository.default_branch) != github.ref && !contains(github.event.head_commit.message, '[no_skip]') }}
# uses: fkirc/skip-duplicate-actions@v5
# with:
# cancel_others: 'true'

cypress-integration-tests:
runs-on: ubuntu-latest
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ on:
- 'gh-pages'

jobs:
cancel-outdated:
name: Cancel Outdated Jobs
runs-on: ubuntu-latest
steps:
- id: skip_check
if: ${{ format('refs/heads/{0}', github.event.repository.default_branch) != github.ref && !contains(github.event.head_commit.message, '[no_skip]') }}
uses: fkirc/skip-duplicate-actions@v5
with:
cancel_others: 'true'
# cancel-outdated:
# name: Cancel Outdated Jobs
# runs-on: ubuntu-latest
# steps:
# - id: skip_check
# if: ${{ format('refs/heads/{0}', github.event.repository.default_branch) != github.ref && !contains(github.event.head_commit.message, '[no_skip]') }}
# uses: fkirc/skip-duplicate-actions@v5
# with:
# cancel_others: 'true'

# changes allows us to only run a job on changed packages
changes:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/helm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ on:
# TODO: it'd be nice to eventually work this into release process on new images
# definitely not a right now thing
jobs:
cancel-outdated:
name: Cancel Outdated Jobs
runs-on: ubuntu-latest
steps:
- id: skip_check
if: ${{ format('refs/heads/{0}', github.event.repository.default_branch) != github.ref && !contains(github.event.head_commit.message, '[no_skip]') }}
uses: fkirc/skip-duplicate-actions@v5
with:
cancel_others: 'true'
# cancel-outdated:
# name: Cancel Outdated Jobs
# runs-on: ubuntu-latest
# steps:
# - id: skip_check
# if: ${{ format('refs/heads/{0}', github.event.repository.default_branch) != github.ref && !contains(github.event.head_commit.message, '[no_skip]') }}
# uses: fkirc/skip-duplicate-actions@v5
# with:
# cancel_others: 'true'

lint-test:
runs-on: ubuntu-latest
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ on:
- 'packages/**'

jobs:
cancel-outdated:
name: Cancel Outdated Jobs
runs-on: ubuntu-latest
steps:
- id: skip_check
if: ${{ format('refs/heads/{0}', github.event.repository.default_branch) != github.ref && !contains(github.event.head_commit.message, '[no_skip]') }}
uses: fkirc/skip-duplicate-actions@v5
with:
cancel_others: 'true'
# cancel-outdated:
# name: Cancel Outdated Jobs
# runs-on: ubuntu-latest
# steps:
# - id: skip_check
# if: ${{ format('refs/heads/{0}', github.event.repository.default_branch) != github.ref && !contains(github.event.head_commit.message, '[no_skip]') }}
# uses: fkirc/skip-duplicate-actions@v5
# with:
# cancel_others: 'true'

lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8a7b5d9

Please sign in to comment.