Skip to content

Commit

Permalink
Try to fix token and condition (#12031)
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor authored Oct 19, 2024
1 parent 0d46700 commit c8724f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/on-review-submitted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ jobs:
add-label-changes-required:
runs-on: ubuntu-latest
steps:
- run: |
- if: startsWith(github.event.review.state, 'Request')
run: |
gh pr edit "$PR_URL" --remove-label "status: ready-for-review"
gh pr edit "$PR_URL" --add-label "status: changes required"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GH_TOKEN_UPDATE_GRADLE_WRAPPER}}
GH_TOKEN: ${{ secrets.GH_TOKEN_GH_EDIT_LABELS }}

0 comments on commit c8724f0

Please sign in to comment.