We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd86940 commit b67ff72Copy full SHA for b67ff72
.github/workflows/clear-ghost-notifications.yml
@@ -1,17 +1,17 @@
1
-name: Clear notifications with GITHUB_TOKEN
+name: Clear notifications (bash)
2
3
on:
4
- workflow_dispatch: # start manually from the Actions tab
+ workflow_dispatch: # run manually from the Actions UI
5
6
jobs:
7
clear:
8
- runs-on: windows-latest
+ runs-on: ubuntu-latest # <-- Linux runner
9
steps:
10
- name: Mark all notifications as read
11
env:
12
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13
run: |
14
- curl -X PUT ^
15
- -H "Accept: application/vnd.github+json" ^
16
- -H "Authorization: Bearer %GH_TOKEN%" ^
+ curl -X PUT \
+ -H "Accept: application/vnd.github+json" \
+ -H "Authorization: Bearer $GH_TOKEN" \
17
https://api.github.com/notifications
0 commit comments