Skip to content

Actions not running for PRs made by another workflow #26800

Actions not running for PRs made by another workflow #26800
Sep 24, 2021 · 5 answers

I have a scheduled workflow that creates PRs as needed - however, none of the checks are running on it. Why? Because the checks are required, these PRs are effectively un-mergeable.

Example PR.

None of those. If you want to trigger new workflows, you have to use a PAT for authentication, not GITHUB_TOKEN.

Replies

5 suggested answers

This is adding a bit of unnecessary maintainer load because to merge these PRs one has to disable the branch protection checks every time. Is this something that can be fixed?

0 replies

How are those PRs created? If the GITHUB_TOKEN is used for authentication it won’t trigger workflows by design. If you use a PAT workflows should be running just like when you’re doing it manually.

0 replies

I see I can also give a special permissions here. Which one would be the correct one?

It’s difficult to test since if I run the workflow manually, the permissions are right.

0 replies

None of those. If you want to trigger new workflows, you have to use a PAT for authentication, not GITHUB_TOKEN.

0 replies
Answer selected

Thanks, that was it.

0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants