Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderDokuchaev committed Aug 21, 2024
1 parent 1267ae3 commit 3e87d1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/api_set_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
if: ${{ steps.status.outputs.api_status == 'add' }}
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
github-token: "${{ secrets.ADD_LABELS_WITH_REST_API }}"
script: |
github.rest.issues.addLabels({
issue_number: ${{ github.event.workflow_run.pull_requests[0].number }},
Expand All @@ -47,7 +47,7 @@ jobs:
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
if: ${{ steps.status.outputs.api_status == 'remove' }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.ADD_LABELS_WITH_REST_API }}
script: |
github.rest.issues.addLabels({
issue_number: ${{ github.event.workflow_run.pull_requests[0].number }},
Expand Down

0 comments on commit 3e87d1c

Please sign in to comment.