action-gh-release | 📦 : octocat : GitHub Action for creating GitHub Releases | Continous Integration library
kandi X-RAY | action-gh-release Summary
kandi X-RAY | action-gh-release Summary
:octocat: GitHub Action for creating GitHub Releases
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of action-gh-release
action-gh-release Key Features
action-gh-release Examples and Code Snippets
Community Discussions
Trending Discussions on action-gh-release
QUESTION
I have a GitHub Actions workflow implemented on the main branch of my repository which creates a new release of my package in GitHub. Then I have another workflow implemented which should be triggered on the creation of a release. This trigger, however, is not working.
Please note that GitHub abandoned their own
actions/create-release@v1
project and advises to use the softprops release action.
My workflow template is as follows:
...ANSWER
Answered 2021-Sep-05 at 12:42The GitHub Actions documentation on performing tasks in a workflow states the following:
When you use the repository's GITHUB_TOKEN to perform tasks on behalf of the GitHub Actions app, events triggered by the GITHUB_TOKEN will not create a new workflow run. This prevents you from accidentally creating recursive workflow runs.
This means that you will have to create a personal access token and add this token to you repository secrets.
To generate a new personal access token go to your personal developer settings and generate a new token. Then go to your repository settings and add a new secret containing the personal access token, name it i.e. PAT
.
In your release workflow template, replace:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install action-gh-release
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page