Skip to content

Commit

Permalink
add token
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaffen committed Feb 6, 2024
1 parent 3ee7cf3 commit 952751e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@ jobs:
bundler-cache: true

- name: Prep environment
env:
GH_TOKEN: ${{ github.token }}
run: |
bundle config set --local with 'release'
bundle install
mkdir -p build
PTAG=$(git --no-pager tag --list | sort --version-sort | tail -n2 | head -n1)
- name: Gen changelog
env:
GH_TOKEN: ${{ github.token }}
run: bundle exec github_changelog_generator --user ${{ github.repository_owner }} --project "gha-test-repo" --since-tag ${PTAG} --output build/changelog.md

- name: Show changelog
run: cat build/changelog.md

Expand Down

0 comments on commit 952751e

Please sign in to comment.