Skip to content

Commit 9118c85

Browse files
committed
fix env
1 parent cc7aeeb commit 9118c85

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

action.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,6 @@ runs:
191191
192192
- name: Remove specific label from issue
193193
shell: bash
194-
env:
195-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
196194
run: |
197195
LABEL_TO_REMOVE="${{ inputs.label }}"
198196
ISSUE_NUMBER=${{ github.event.issue.number }}
@@ -201,6 +199,6 @@ runs:
201199
202200
echo "Removing label ${LABEL_TO_REMOVE} from issue ${ISSUE_NUMBER}"
203201
curl -s -X DELETE \
204-
-H "Authorization: token $GITHUB_TOKEN" \
202+
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
205203
-H "Accept: application/vnd.github.v3+json" \
206204
https://api.github.com/repos/$OWNER/$REPO/issues/$ISSUE_NUMBER/labels/$LABEL_TO_REMOVE

0 commit comments

Comments
 (0)