Skip to content

Commit 1875898

Browse files
committed
[build] Use explicit write perms
1 parent 4876b74 commit 1875898

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/generate-docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
jobs:
1414
update_docs:
1515
runs-on: ubuntu-latest
16+
permissions:
17+
contents: write # pushes generated docs to the gh-pages branch
1618
env:
1719
scenedetect_docs_dest: ''
1820

.github/workflows/generate-website.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
jobs:
1313
update_site:
1414
runs-on: ubuntu-latest
15+
permissions:
16+
contents: write # pushes generated site to the gh-pages branch
1517

1618
steps:
1719
- uses: actions/checkout@v5

0 commit comments

Comments
 (0)