Skip to content

Commit 7764027

Browse files
authored
Update TriggerTagBot.yml
1 parent 1696cdd commit 7764027

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/TriggerTagBot.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@ jobs:
1919
echo "Package name is: $PACKAGENAME"
2020
echo "packagename=$PACKAGENAME" >> "$GITHUB_ENV"
2121
- name: Run `repository_dispatch` on updated repo, to trigger tagbot
22+
env:
23+
TAGBOT_PAT: ${{ secrets.TAGBOT_PAT_TEST }}
2224
run: |
2325
curl -X POST https://api.github.com/repos/HolyLab/${packagename}.jl/dispatches \
2426
-H 'Accept: application/vnd.github.everest-preview+json' \
25-
-u ${{ secrets.TAGBOT_PAT_TEST }} \
27+
-H "Authorization: Bearer $TAGBOT_PAT" \
28+
--verbose \
2629
--data '{"event_type": "TriggerTagBot_${packagename}", "client_payload": { "repository": "'"$GITHUB_REPOSITORY"'" }}'

0 commit comments

Comments
 (0)