We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc7aeeb commit 9118c85Copy full SHA for 9118c85
action.yaml
@@ -191,8 +191,6 @@ runs:
191
192
- name: Remove specific label from issue
193
shell: bash
194
- env:
195
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
196
run: |
197
LABEL_TO_REMOVE="${{ inputs.label }}"
198
ISSUE_NUMBER=${{ github.event.issue.number }}
@@ -201,6 +199,6 @@ runs:
201
199
202
200
echo "Removing label ${LABEL_TO_REMOVE} from issue ${ISSUE_NUMBER}"
203
curl -s -X DELETE \
204
- -H "Authorization: token $GITHUB_TOKEN" \
+ -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
205
-H "Accept: application/vnd.github.v3+json" \
206
https://api.github.com/repos/$OWNER/$REPO/issues/$ISSUE_NUMBER/labels/$LABEL_TO_REMOVE
0 commit comments