Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sahejkm committed May 21, 2024
1 parent 43d2104 commit f57776d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/after-approval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:

jobs:
label-pr:
if: github.event.review.state == 'commented' && !contains(github.event.pull_request.labels.*.name, 'extended-tests')
if: github.event.review.state == 'approved' && !contains(github.event.pull_request.labels.*.name, 'extended-tests')
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -25,6 +25,6 @@ jobs:
run: |
echo "Adding label 'extended-tests' to PR $NUMBER"
gh pr edit "$NUMBER" --add-label "extended-tests" || (echo "Failed to add label" && exit 1)
# e2e-tests:
# needs: label-pr
# uses: ./.github/workflows/call-e2e-all-tests.yml
e2e-tests:
needs: label-pr
uses: ./.github/workflows/call-e2e-all-tests.yml

0 comments on commit f57776d

Please sign in to comment.