Skip to content

Commit 827f755

Browse files
committed
CI: update secrets
1 parent f263092 commit 827f755

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/notify.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,9 @@ jobs:
2323
steps:
2424
- name: notify to ergscripts
2525
run: |
26-
TOKEN=${{ secrets.DEV_TOKEN }}
27-
2826
curl \
2927
-X POST \
30-
-H "Authorization: token $TOKEN" \
28+
-H "Authorization: token ${{ secrets.DEV_TOKEN }}" \
3129
-H "Accept: application/vnd.github.v3+json" \
3230
https://api.github.com/repos/mtshiba/ergscripts/dispatches \
3331
-d '{"event_type":"notification-push-main","client_payload":{"msg": "a change has been pushed to main"}}'

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,9 @@ jobs:
5858
steps:
5959
- name: run curl
6060
run: |
61-
TOKEN=${{ secrets.GITHUB_TOKEN }}
62-
6361
curl \
6462
-X POST \
65-
-H "Authorization: token $TOKEN" \
63+
-H "Authorization: token ${{ secrets.TOKEN }}" \
6664
-H "Accept: application/vnd.github.v3+json" \
6765
https://api.github.com/repos/erg-lang/web-ide/dispatches \
6866
-d '{"event_type":"release-notification","client_payload":{"msg": "A new Erg version has been released"}}'

0 commit comments

Comments
 (0)