Hello everyone!
When a PR is closed through a bot for example, it doesn’t run the workflow, any ideas on how to solve this?
Hello everyone!
When a PR is closed through a bot for example, it doesn’t run the workflow, any ideas on how to solve this?
What kind of bot are you talking about? Code running in an Actions workflow, or something else?
a bot that analyzes PR’s that are stale and closes
That’s an action, which will appear as the Actions bot in the log because by default it uses the GITHUB_TOKEN
for authorization. And any activity authorized by the GITHUB_TOKEN
won’t trigger further workflows, as documented.
If you want to trigger workflows, you need to create a PAT, store that as a secret, and provide it to the action that closes the PRs.
it seems that creating a pat and using it didn’t work either )=