Skip to content

Commit

Permalink
Add GITHUB_TOKEN to Create Release step in release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GCHQDeveloper42 authored Jan 26, 2024
1 parent 06d4afd commit d1554fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ jobs:
run: mvn -Dtag=v${{ inputs.releaseVersion }} release:prepare -DautoVersionSubmodules -DreleaseVersion=${{ inputs.releaseVersion }} -DdevelopmentVersion=${{ inputs.developmentVersion }}

- name: Publish
env:
GITHUB_TOKEN: ${{ github.token }}
run: mvn release:perform

- name: Merge release into main
Expand All @@ -59,7 +61,7 @@ jobs:
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ github.token }} # This token is provided by Actions, you do not need to create your own token
GITHUB_TOKEN: ${{ github.token }}
with:
tag_name: ${{ inputs.releaseVersion }}
release_name: Magma Core v${{ inputs.releaseVersion }}
Expand Down

0 comments on commit d1554fa

Please sign in to comment.