Skip to content

Commit

Permalink
Allow tox workflow to write packages (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Oct 2, 2024
1 parent 4b09dec commit 082cc65
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ on:
type: string

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # might be needed by tox commands
FORCE_COLOR: 1 # tox, pytest, ansible-lint
PY_COLORS: 1

Expand Down Expand Up @@ -64,6 +65,8 @@ jobs:
defaults:
run:
shell: ${{ matrix.shell || 'bash'}}
permissions:
packages: write # some tox environments might produce containers
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.prepare.outputs.matrix) }}
Expand Down

0 comments on commit 082cc65

Please sign in to comment.