Skip to content

Commit

Permalink
test5
Browse files Browse the repository at this point in the history
  • Loading branch information
Sahejkm committed May 16, 2024
1 parent 1b1e33a commit d5a56d3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/add-label-on-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@ concurrency:

jobs:
label_issues:
if: github.event.review.state == 'commented' && !contains( github.event.pull_request.labels.*.name, '$LABELS')
if: github.event.review.state == 'commented' && !contains( github.event.pull_request.labels.*.name, 'extended-tests')
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- run: gh pr edit "$NUMBER" --add-label "$LABELS"
- run: gh pr edit "$NUMBER" --add-label "extended-tests"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.pull_request.number }}
LABELS: extended-tests

0 comments on commit d5a56d3

Please sign in to comment.