Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sahejkm committed May 16, 2024
1 parent 93b1ef6 commit 5c582dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/add-label-run-extended-tests-approve.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Extended tests on approve
name: Add Label to run extended tests on approve

on:
pull_request_review:
Expand All @@ -8,8 +8,8 @@ concurrency:
cancel-in-progress: true

jobs:
label_approved_pr:
if: github.event.review.state == 'approved' && !contains( github.event.pull_request.labels.*.name, 'extended-tests')
label_pull_requests:
if: github.event.review.state == 'commented' && !contains( github.event.pull_request.labels.*.name, 'extended-tests')
runs-on: ubuntu-latest
permissions:
pull-requests: write
Expand All @@ -20,5 +20,5 @@ jobs:
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.pull_request.number }}
e2e-tests:
needs: label_approved_pr
needs: label_pull_requests
uses: ./.github/workflows/call-e2e-all-tests.yml

0 comments on commit 5c582dc

Please sign in to comment.