From 77dc8d23e3ba712408bad462c3f35379fed29dfd Mon Sep 17 00:00:00 2001 From: Robert Waffen Date: Tue, 6 Feb 2024 15:25:19 +0100 Subject: [PATCH] add token --- .github/workflows/release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 11a70a7..8a0ed3b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}"