Skip to content

Commit b36fc5d

Browse files
authored
Add permissions for cleanup-preview-docs job (#122)
1 parent 15cb2b0 commit b36fc5d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/Docs-Cleanup.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
jobs:
88
cleanup-preview-docs:
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
1012
steps:
1113
- uses: actions/checkout@v4
1214
with:
@@ -23,4 +25,4 @@ jobs:
2325
git commit -m "delete preview"
2426
git branch gh-pages-new $(echo "delete history" | git commit-tree HEAD^{tree})
2527
git push --force origin gh-pages-new:gh-pages
26-
fi
28+
fi

0 commit comments

Comments
 (0)