Skip to content

Commit f745d6c

Browse files
authored
Update extensions.yml
1 parent 0b19afb commit f745d6c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/extensions.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ jobs:
4242
}
4343
- name: Add label if user is a team member
4444
if: steps.check_team_membership.outputs.is_team_member == 'true'
45-
uses: actions-ecosystem/action-add-labels@v1
46-
with:
47-
github_token: ${{ secrets.GITHUB_TOKEN }}
48-
labels: "frequent-flyer"
45+
run: |
46+
curl -X POST \
47+
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
48+
-H "Accept: application/vnd.github.v3+json" \
49+
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/labels \
50+
-d '{"labels":["Frequent flyer"]}'

0 commit comments

Comments
 (0)