Skip to content

Commit

Permalink
fix: add the right PAT
Browse files Browse the repository at this point in the history
Turns out that even in dry-run it is required to have the correct PAT with the right permissions set
  • Loading branch information
Arc-E-Tect committed Jul 22, 2024
1 parent 238d1c6 commit 616bafc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release_in_one_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:
run: |
export NEXT_TAG_VERSION=$(npx semantic-release --dry-run | grep 'The next release version is' | sed -E 's/.* ([[:digit:].]+)$/\1/')
echo "new_tag_version=${NEXT_TAG_VERSION}" >> $GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Update version and date in file
if: ${{ steps.calculate_semantic_version.outputs.new_tag_version != '' }}
Expand Down

0 comments on commit 616bafc

Please sign in to comment.