You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/self-update.yml
+7-4Lines changed: 7 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
name: self-update
2
2
3
-
permissions: {}
3
+
permissions:
4
+
actions: write
4
5
5
6
on:
6
7
workflow_dispatch:
@@ -13,12 +14,14 @@ jobs:
13
14
steps:
14
15
- name: ensure token
15
16
run: |
16
-
if [[ -z "$GH_TOKEN" ]]; then
17
-
echo "::error::GH_SELF_UPDATE_TOKEN secret is not set. Please either set this secret or disable this workflow."
17
+
if [[ -z "$GH_SELF_UPDATE_TOKEN" ]]; then
18
+
echo "::error::GH_SELF_UPDATE_TOKEN secret is not set. Disabling this workflow for now. If you want your fork to update itself automatically, please set this secret and re-enable this workflow."
0 commit comments