Browse Source

Merge pull request #4064 from nocodb/chore/cancel-previous-action

Github action - Cancel any previous ci-cd action in same PR / branch
pull/4083/head
աɨռɢӄաօռɢ 2 years ago committed by GitHub
parent
commit
d00aa8d6e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      .github/workflows/ci-cd.yml
  2. 5
      .github/workflows/release-pr.yml

7
.github/workflows/ci-cd.yml

@ -19,6 +19,11 @@ on:
- "scripts/cypress/**"
- "packages/nocodb/**"
- ".github/workflows/ci-cd.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
cypress-restTableOps-run-cache:
runs-on: ubuntu-20.04
@ -751,4 +756,4 @@ jobs:
with:
name: cypress-restMisc-run-cache-snapshots
path: scripts/cypress/screenshots
retention-days: 2
retention-days: 2

5
.github/workflows/release-pr.yml

@ -12,6 +12,11 @@ on:
- "packages/nc-gui/**"
- "packages/nc-plugin/**"
- "packages/nocodb/**"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
# enrich tag for pr release
set-tag:

Loading…
Cancel
Save