[Q]: "released" trigger is never fired when using recommended release drafter action #30
Replies: 2 comments 3 replies
-
I think the problem is, that you're triggering the From the GitHub docs:
To solve this, you must create a so called "personal access token" or "PAT". You then have to add the token as a secret to your repository or organisation and reference it in your workflow. - name: Publish the release notes
uses: release-drafter/[email protected]
with:
publish: ${{ steps.check-version.outputs.tag != '' }}
tag: ${{ steps.check-version.outputs.tag }}
config-name: release_drafting_config.yml
disable-autolabeler: true
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GITHUB_TOKEN: ${{ secrets.PAT }} Using the PAT, the restrictions are lifted and the |
Beta Was this translation helpful? Give feedback.
-
Thats a good point! Thank you! Would you mind to add a hint into the docs where you recommended release drafter? Do you think that using the changelog workflow triggered after the release action via workflow import should overcome this issue? I will read the docs... But maybe you already know the answer...
|
Beta Was this translation helpful? Give feedback.
-
Hi,
maybe this is the wrong place but I thougth I might give it a try because in the readme of this action the release-drafter action is recommended:
I use the changelog updater action this way:
In another workflow I call the release drafter:
As a result an actual release is published. But the changelog updater workflow does not get triggered. No fail, just not executed. I wonder if the release drafter action causes the correct events to be fired that would trigger on->release->types->"released". Or do I need to enable something else anywhere? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions