mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
ci: Do not cancel e2e and chromatic jobs on regular PR comments (#12613)
This commit is contained in:
parent
14904ff779
commit
cdd5d66dc6
3
.github/workflows/chromatic.yml
vendored
3
.github/workflows/chromatic.yml
vendored
|
@ -8,13 +8,14 @@ on:
|
||||||
types: [submitted]
|
types: [submitted]
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: chromatic-${{ github.event.pull_request.number || github.ref }}
|
group: chromatic-${{ github.event.pull_request.number || github.ref }}-${{github.event.review.state}}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
get-metadata:
|
get-metadata:
|
||||||
name: Get Metadata
|
name: Get Metadata
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event.review.state == 'approved'
|
||||||
steps:
|
steps:
|
||||||
- name: Check out current commit
|
- name: Check out current commit
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
3
.github/workflows/e2e-tests-pr.yml
vendored
3
.github/workflows/e2e-tests-pr.yml
vendored
|
@ -5,13 +5,14 @@ on:
|
||||||
types: [submitted]
|
types: [submitted]
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: e2e-${{ github.event.pull_request.number || github.ref }}
|
group: e2e-${{ github.event.pull_request.number || github.ref }}-${{github.event.review.state}}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
get-metadata:
|
get-metadata:
|
||||||
name: Get Metadata
|
name: Get Metadata
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event.review.state == 'approved'
|
||||||
steps:
|
steps:
|
||||||
- name: Check out current commit
|
- name: Check out current commit
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
Loading…
Reference in a new issue