Skip to content

Commit

Permalink
Update labels.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Deep-Dark-Forest authored Jan 28, 2025
1 parent e524276 commit 6eac95a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Check if the issue was closed as completed and add label
uses: actions/github-script@v6
with:
github-token: ${{ secrets.SHEEP }}
github-token: ${{ secrets.BOT }}
script: |
if (context.payload.issue.state_reason === 'completed') {
await github.rest.issues.addLabels({
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Check if the issue was closed as duplicate and add label
uses: actions/github-script@v6
with:
github-token: ${{ secrets.SHEEP }}
github-token: ${{ secrets.BOT }}
script: |
if (context.payload.issue.state_reason === 'duplicate') {
await github.rest.issues.addLabels({
Expand Down

0 comments on commit 6eac95a

Please sign in to comment.