Skip to content

Commit b493f75

Browse files
committed
wip
1 parent a1ae50b commit b493f75

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/validate.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ jobs:
3131
exit 0
3232
3333
- name: Remove Label using GitHub CLI
34-
run: gh pr edit ${{ github.event.pull_request.number }} --remove-label run-full-validation"
35-
env:
36-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
run: |
35+
curl -X DELETE -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
36+
-H "Accept: application/vnd.github.v3+json" \
37+
"https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/labels/run-full-validation"
3738
3839
# - name: 'Remove label'
3940
# if: always()

0 commit comments

Comments
 (0)