Skip to content

Does git-release not trigger a "release" webhook event with "created" activity type? #100

Answered by PaulRBerg
PaulRBerg asked this question in Q&A
Discussion options

You must be logged in to vote

I have figured out the answer on my own by arriving at this StackOverflow Q&A and talking to ChatGPT4.

Turns out that GitHub Actions prevents recursive workflows by design.

Here's the full response given by ChatGPT4:

Yes, it is normal for releases made by `github-actions` to not trigger a `release` webhook event when the action is running in the same repository. This is because GitHub Actions [prevents recursive workflows](https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token) by design.

To work around this limitation, you can use a personal access token (PAT) to authenticate when creating the release,…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@anton-yurchenko
Comment options

Answer selected by PaulRBerg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants