Skip to content

Commit

Permalink
fix GHA permission
Browse files Browse the repository at this point in the history
  • Loading branch information
gruebel committed Nov 12, 2023
1 parent 6841f29 commit 9ec169c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
runs-on: [self-hosted, public, linux, x64]
permissions:
contents: write
# IMPORTANT: this permission is mandatory for trusted publishing to pypi
id-token: write
outputs:
version: ${{ steps.version.outputs.version }}
steps:
Expand Down Expand Up @@ -56,6 +54,8 @@ jobs:
environment: release
permissions:
contents: write
# IMPORTANT: this permission is mandatory for trusted publishing to pypi
id-token: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4
Expand Down
2 changes: 1 addition & 1 deletion hcl2/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Version module"""
__version__ = '0.3.52'
__version__ = '0.4.0'

0 comments on commit 9ec169c

Please sign in to comment.