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 65be5bc commit 77dc8d2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ jobs:
PTAG=$(git --no-pager tag --list | sort --version-sort | tail -n2 | head -n1)
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

- name: Release
- name: Create Release
env:
GH_TOKEN: ${{ github.token }}
run: gh release create ${{ github.ref_name }} --notes-file build/changelog.md --title "Release ${{ github.ref_name }}"

0 comments on commit 77dc8d2

Please sign in to comment.