Skip to content

Commit

Permalink
Add check for after-next-version label to design approved status
Browse files Browse the repository at this point in the history
  • Loading branch information
PlasmaPower committed Jul 11, 2024
1 parent 1fcaf60 commit 11de4f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/merge-checks.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Merge Checks

on:
pull_request_target:
pull_request:
branches: [ master ]
types: [synchronize, opened, reopened, labeled, unlabeled]

Expand All @@ -17,7 +17,7 @@ jobs:
run: |
set -x pipefail
status_state="pending"
if ${{ contains(github.event.*.labels.*.name, 'design-approved') }}; then
if ${{ contains(github.event.pull_request.labels.*.name, 'design-approved') && !contains(github.event.pull_request.labels.*.name, 'after-next-version') }}; then
status_state="success"
else
resp="$(curl -sSL --fail-with-body \
Expand Down

0 comments on commit 11de4f9

Please sign in to comment.