Skip to content

Commit b67ff72

Browse files
ghiscodingcaulfield
authored andcommitted
Update clear-ghost-notifications.yml
1 parent dd86940 commit b67ff72

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
name: Clear notifications with GITHUB_TOKEN
1+
name: Clear notifications (bash)
22

33
on:
4-
workflow_dispatch: # start manually from the Actions tab
4+
workflow_dispatch: # run manually from the Actions UI
55

66
jobs:
77
clear:
8-
runs-on: windows-latest
8+
runs-on: ubuntu-latest # <-- Linux runner
99
steps:
1010
- name: Mark all notifications as read
1111
env:
1212
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1313
run: |
14-
curl -X PUT ^
15-
-H "Accept: application/vnd.github+json" ^
16-
-H "Authorization: Bearer %GH_TOKEN%" ^
14+
curl -X PUT \
15+
-H "Accept: application/vnd.github+json" \
16+
-H "Authorization: Bearer $GH_TOKEN" \
1717
https://api.github.com/notifications

0 commit comments

Comments
 (0)