Skip to content

Commit

Permalink
labeler-approve and labeler-changes fix
Browse files Browse the repository at this point in the history
  • Loading branch information
UrPrice committed Dec 10, 2024
1 parent 6997a3a commit 857c906
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/labeler-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ on:

jobs:
remove_label:
permissions:
contents: write
pull-requests: write
statuses: write
if: github.event.review.state == 'approved'
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: actions-ecosystem/action-remove-labels@v1
with:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/labeler-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ on:

jobs:
update_label:
permissions:
pull-requests: write
if: github.event.review.state == 'changes_requested'
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: actions-ecosystem/action-add-labels@v1
with:
Expand Down

0 comments on commit 857c906

Please sign in to comment.