Skip to content

Commit 04a5ab1

Browse files
committed
Re-add explicit deploy job permissions
1 parent 5c97dad commit 04a5ab1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v3
12-
- run: pipx install poetry
12+
- run: pipx install "tox poetry>=1.1.12,<2"
1313
- uses: actions/setup-python@v4
1414
with:
1515
python-version-file: pyproject.toml
1616
cache: 'poetry'
17-
- run: pip install tox
1817
- run: tox -e lint,py311-dj42
1918
test_compatibility:
2019
needs: test
@@ -42,12 +41,11 @@ jobs:
4241
# toxenv: py312-dj41
4342
steps:
4443
- uses: actions/checkout@v3
45-
- run: pipx install poetry
44+
- run: pipx install "tox poetry>=1.1.12,<2"
4645
- uses: actions/setup-python@v4
4746
with:
4847
python-version: ${{ matrix.python }}
4948
allow-prereleases: true
50-
- run: pip install tox
5149
- run: tox -q
5250
env:
5351
TOXENV: ${{ matrix.toxenv }}
@@ -68,7 +66,7 @@ jobs:
6866
- if: steps.node-cache.outputs.cache-hit != 'true'
6967
run: npm ci --no-audit
7068
- run: npm run build
71-
- run: pipx install poetry
69+
- run: pipx install "poetry>=1.1.12,<2"
7270
- uses: actions/setup-python@v4
7371
with:
7472
python-version-file: pyproject.toml
@@ -95,6 +93,9 @@ jobs:
9593
deploy_site:
9694
needs: build_site
9795
runs-on: ubuntu-latest
96+
permissions:
97+
pages: write
98+
id-token: write
9899
environment:
99100
name: github-pages
100101
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)