Skip to content

Commit

Permalink
ci: release action security corrections (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanPedroGHM authored Oct 25, 2023
1 parent 4a0c984 commit a02a4c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
tag: ${{ steps.semantic-release.outputs.tag }}
needs: Test
runs-on: ubuntu-latest
environment: release
concurrency: publish
permissions:
contents: write
Expand All @@ -22,6 +23,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.PERSONAL_GH_TOKEN }}
- uses: actions/setup-python@v4
- name: Install dependencies
run: |
Expand All @@ -33,7 +35,7 @@ jobs:
poetry run semantic-release version --no-vcs-release --skip-build
cat $GITHUB_OUTPUT
env:
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
GH_TOKEN: ${{ secrets.PERSONAL_GH_TOKEN }}
Release-to-Pypi:
runs-on: ubuntu-latest
needs: VersionAndChangelog
Expand Down

0 comments on commit a02a4c1

Please sign in to comment.