Skip to content

Commit

Permalink
Persist credentials and set GH_TOKEN for the GitHub command line tool
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuderman committed Apr 23, 2024
1 parent 68be5df commit 7fe918b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ jobs:
needs: [ package-from-pr, package-from-manual ]
name: Create a tag and GitHub release for this version.
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ github.token }}
if: |
always()
&& contains(needs.*.result, 'success')
&& !contains(needs.*.result, 'failure')
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Tag and release
run: |
git config user.name "GitHub Actions Bot"
Expand Down

0 comments on commit 7fe918b

Please sign in to comment.