Use PAT_TOKEN to publish release
This PR fixes the permission issue in the repo's release workflow so that we don't need to create release manually.
Run ncipollo/release-action@v1
with:
token: ***
tag: v25.0.0-legacy
generateReleaseNotes: false
immutableCreate: false
makeLatest: legacy
omitBody: false
omitBodyDuringUpdate: false
omitDraftDuringUpdate: false
omitName: false
omitNameDuringUpdate: false
omitPrereleaseDuringUpdate: false
removeArtifacts: false
replacesArtifacts: true
skipIfReleaseExists: false
updateOnlyUnreleased: false
env:
JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.17-10/x64
JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.17-10/x64
Error: Error 403: Resource not accessible by integration - https://docs.github.com/rest/releases/releases#create-a-release
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: yue9944882
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [yue9944882]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
Can we switch to using the gh tool as documented here:
https://github.com/ruby/ruby-dev-builder/blob/b0bf59a17c17985d4692243d4689c273f6348fa5/.github/workflows/build.yml#L177-L181
I'd rather remove reliance on 3rd party actions for software supply chain security reasons.