Skip to content

Commit 082cc65

Browse files
authored
Allow tox workflow to write packages (#221)
1 parent 4b09dec commit 082cc65

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/tox.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ on:
3131
type: string
3232

3333
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # might be needed by tox commands
3435
FORCE_COLOR: 1 # tox, pytest, ansible-lint
3536
PY_COLORS: 1
3637

@@ -64,6 +65,8 @@ jobs:
6465
defaults:
6566
run:
6667
shell: ${{ matrix.shell || 'bash'}}
68+
permissions:
69+
packages: write # some tox environments might produce containers
6770
strategy:
6871
fail-fast: false
6972
matrix: ${{ fromJson(needs.prepare.outputs.matrix) }}

0 commit comments

Comments
 (0)