Skip to content

Commit c63dcfb

Browse files
authored
fix workflow to use appropriate token
1 parent 98f499b commit c63dcfb

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/taydeo-approval.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
name: "Approval"
66

7-
on:
7+
on:
88
pull_request_review:
99
types:
1010
- submitted
@@ -17,6 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
if: github.event.review.user.login == 'taydeo' && github.event.review.state == 'approved'
1919
steps:
20-
- uses: actions-ecosystem/action-add-labels@v1
21-
with:
22-
labels: "Status: Approved"
20+
- uses: actions-ecosystem/action-add-labels@v1
21+
with:
22+
github_token: ${{ secrets.BOT_TOKEN }}
23+
labels: "Status: Approved"

0 commit comments

Comments
 (0)