ci: Do not cancel e2e and chromatic jobs on regular PR comments (#12613)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2025-01-17 17:19:38 +01:00 committed by GitHub
parent 14904ff779
commit cdd5d66dc6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -8,13 +8,14 @@ on:
types: [submitted]
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
jobs:
get-metadata:
name: Get Metadata
runs-on: ubuntu-latest
if: github.event.review.state == 'approved'
steps:
- name: Check out current commit
uses: actions/checkout@v4

View file

@ -5,13 +5,14 @@ on:
types: [submitted]
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
jobs:
get-metadata:
name: Get Metadata
runs-on: ubuntu-latest
if: github.event.review.state == 'approved'
steps:
- name: Check out current commit
uses: actions/checkout@v4