Skip to content

Commit

Permalink
Update TriggerTagBot.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kdw503 authored Jan 31, 2025
1 parent 1696cdd commit 7764027
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/TriggerTagBot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ jobs:
echo "Package name is: $PACKAGENAME"
echo "packagename=$PACKAGENAME" >> "$GITHUB_ENV"
- name: Run `repository_dispatch` on updated repo, to trigger tagbot
env:
TAGBOT_PAT: ${{ secrets.TAGBOT_PAT_TEST }}
run: |
curl -X POST https://api.github.com/repos/HolyLab/${packagename}.jl/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \
-u ${{ secrets.TAGBOT_PAT_TEST }} \
-H "Authorization: Bearer $TAGBOT_PAT" \
--verbose \
--data '{"event_type": "TriggerTagBot_${packagename}", "client_payload": { "repository": "'"$GITHUB_REPOSITORY"'" }}'

0 comments on commit 7764027

Please sign in to comment.