Skip to content

Commit 5f72082

Browse files
committed
fix: use correct GitHub API endpoint to remove trusted label
The label name must be in the URL path, not as a form parameter.
1 parent 4eebf23 commit 5f72082

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ jobs:
144144
steps:
145145
- name: Remove trusted label
146146
run: |
147-
gh api /repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/labels -X DELETE -F label=trusted
147+
gh api /repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/labels/trusted -X DELETE
148148
env:
149149
GITHUB_TOKEN: "${{ github.token }}"
150150

0 commit comments

Comments
 (0)