Skip to content

Commit a9a3434

Browse files
committed
Fix permissions for doc publishing.
1 parent bf41c6e commit a9a3434

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/release-docs.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ name: Release docs
22

33
on:
44
push:
5-
branches: ["main"]
5+
branches: ["main", "fix_doc_publishing"]
66

77
jobs:
88
Build:
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
1012
steps:
1113
- uses: actions/checkout@v4
1214
- name: Set up Python 3.10

.github/workflows/release-package.yml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
permissions:
1111
id-token: write
12+
contents: write
1213
environment: pypi
1314
steps:
1415
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)