[GH-ISSUE #98] Checks not working on all PR's #9444

Closed
opened 2026-06-03 13:57:12 -05:00 by GiteaMirror · 19 comments
Owner

Originally created by @gep13 on GitHub (Mar 4, 2019).
Original GitHub issue: https://github.com/sdras/awesome-actions/issues/98

For example, there are no checks on this PR:

https://github.com/sdras/awesome-actions/pull/97/checks

@sdras I am not able to see the settings of this repository, are you able to confirm how the settings are set up in this area? It would be good to have the awesome-lint action that @max added to this repository working on all PR's.

Originally created by @gep13 on GitHub (Mar 4, 2019). Original GitHub issue: https://github.com/sdras/awesome-actions/issues/98 For example, there are no checks on this PR: https://github.com/sdras/awesome-actions/pull/97/checks @sdras I am not able to see the settings of this repository, are you able to confirm how the settings are set up in this area? It would be good to have the awesome-lint action that @max added to this repository working on all PR's.
Author
Owner

@xt0rted commented on GitHub (Mar 4, 2019):

I think the workflow needs to be changed from push to pull_request. Or a second workflow added for pull_request.

<!-- gh-comment-id:469432753 --> @xt0rted commented on GitHub (Mar 4, 2019): I think the workflow needs to be changed from `push` to `pull_request`. Or a second workflow added for `pull_request`.
Author
Owner

@gep13 commented on GitHub (Mar 4, 2019):

@xt0rted I think you could be right! Thanks for posting here.

Would you mind creating a new PR on this repo to test this out? I have switched the workflow to trigger on pull_request.

<!-- gh-comment-id:469453405 --> @gep13 commented on GitHub (Mar 4, 2019): @xt0rted I think you could be right! Thanks for posting here. Would you mind creating a new PR on this repo to test this out? I have switched the workflow to trigger on `pull_request`.
Author
Owner

@xt0rted commented on GitHub (Mar 4, 2019):

#99 I'm not seeing any checks yet though 😕

It worked in my fork https://github.com/xt0rted/awesome-actions/pull/2/checks

<!-- gh-comment-id:469458613 --> @xt0rted commented on GitHub (Mar 4, 2019): #99 I'm not seeing any checks yet though 😕 It worked in my fork https://github.com/xt0rted/awesome-actions/pull/2/checks
Author
Owner

@gep13 commented on GitHub (Mar 4, 2019):

@xt0rted I am starting to think that there is a setting that is required to make this work, but not sure what...

I will reach out to someone who might be able to help.

<!-- gh-comment-id:469462704 --> @gep13 commented on GitHub (Mar 4, 2019): @xt0rted I am starting to think that there is a setting that is required to make this work, but not sure what... I will reach out to someone who might be able to help.
Author
Owner

@gep13 commented on GitHub (Mar 4, 2019):

@xt0rted The checks also showed up correctly on a PR that I raised here:

https://github.com/sdras/awesome-actions/pull/96

This was before switching to pull_request as well.

<!-- gh-comment-id:469465909 --> @gep13 commented on GitHub (Mar 4, 2019): @xt0rted The checks also showed up correctly on a PR that I raised here: https://github.com/sdras/awesome-actions/pull/96 This was before switching to `pull_request` as well.
Author
Owner

@xt0rted commented on GitHub (Mar 7, 2019):

I set up a new workflow yesterday and had everything running on pull_request but what I found was even updating a PR's labels triggered the actions to run. I think you were right having this run on push because when I changed it over to push it continued running for commits but not for other changes (labels, projects, etc.).

<!-- gh-comment-id:470541602 --> @xt0rted commented on GitHub (Mar 7, 2019): I set up a new workflow yesterday and had everything running on `pull_request` but what I found was even updating a PR's labels triggered the actions to run. I think you were right having this run on `push` because when I changed it over to `push` it continued running for commits but not for other changes (labels, projects, etc.).
Author
Owner

@gep13 commented on GitHub (Mar 7, 2019):

@xt0rted while you are here... was this on a private repo you were testing? I seem to remember that there is a limitation on what works on a public repo while in the GitHub Actions beta.

<!-- gh-comment-id:470613152 --> @gep13 commented on GitHub (Mar 7, 2019): @xt0rted while you are here... was this on a private repo you were testing? I seem to remember that there is a limitation on what works on a public repo while in the GitHub Actions beta.
Author
Owner

@gep13 commented on GitHub (Mar 7, 2019):

@xt0rted for now, I have switched back to the push event.

<!-- gh-comment-id:470618156 --> @gep13 commented on GitHub (Mar 7, 2019): @xt0rted for now, I have switched back to the push event.
Author
Owner

@xt0rted commented on GitHub (Mar 7, 2019):

It was a private repo where they were running after changing the labels of a PR. It makes sense after looking at the api more, the pull_request event is fired for anything related to a PR.

According to https://developer.github.com/actions/creating-workflows/workflow-configuration-options/#pull-request-events-for-forked-repositories

If you intend to use the pull_request event to trigger CI tests, it's recommended to listen to the push event.

Also found https://developer.github.com/actions/changes/2018-12-18-limited-public-actions/

GitHub Actions can now be triggered on push events in public repositories by repository owners.

I'm not sure if this update changed any of that though https://developer.github.com/actions/changes/2019-01-29-public-actions-update/

<!-- gh-comment-id:470628312 --> @xt0rted commented on GitHub (Mar 7, 2019): It was a private repo where they were running after changing the labels of a PR. It makes sense after looking at the api more, the `pull_request` event is fired for anything related to a PR. According to https://developer.github.com/actions/creating-workflows/workflow-configuration-options/#pull-request-events-for-forked-repositories >If you intend to use the `pull_request` event to trigger CI tests, it's recommended to listen to the `push` event. Also found https://developer.github.com/actions/changes/2018-12-18-limited-public-actions/ >GitHub Actions can now be triggered on push events in public repositories _by repository owners._ I'm not sure if this update changed any of that though https://developer.github.com/actions/changes/2019-01-29-public-actions-update/
Author
Owner

@gep13 commented on GitHub (Mar 7, 2019):

Hmm, very strange then. I will follow up directly with GitHub support, to see if I can get an answer.

<!-- gh-comment-id:470633920 --> @gep13 commented on GitHub (Mar 7, 2019): Hmm, very strange then. I will follow up directly with GitHub support, to see if I can get an answer.
Author
Owner

@gep13 commented on GitHub (Mar 16, 2019):

@xt0rted I have heard back from GitHub support on this, seems like this is known issue 😢

I'm afraid check runs for Actions do not currently show on Pull Requests when it's between a parent and a fork. This is something the team would like to improve upon in the future.

Guess we will simply have to wait and see if/when this ships. This is a real shame. Seems like this is an obvious thing that should/needs to be supported.

<!-- gh-comment-id:473506862 --> @gep13 commented on GitHub (Mar 16, 2019): @xt0rted I have heard back from GitHub support on this, seems like this is known issue 😢 > I'm afraid check runs for Actions do not currently show on Pull Requests when it's between a parent and a fork. This is something the team would like to improve upon in the future. Guess we will simply have to wait and see if/when this ships. This is a real shame. Seems like this is an obvious thing that should/needs to be supported.
Author
Owner

@gep13 commented on GitHub (Mar 16, 2019):

This does explain why the checks appeared on the PR that I created, as this from a PR from this repository, and not a fork.

<!-- gh-comment-id:473506885 --> @gep13 commented on GitHub (Mar 16, 2019): This does explain why the checks appeared on the PR that I created, as this from a PR from this repository, and not a fork.
Author
Owner

@cryptiklemur commented on GitHub (Aug 19, 2019):

Oof. That is quite the deal breaker... What a bummer

<!-- gh-comment-id:522677246 --> @cryptiklemur commented on GitHub (Aug 19, 2019): Oof. That is quite the deal breaker... What a bummer
Author
Owner

@gep13 commented on GitHub (Aug 19, 2019):

@aequasi I am actually curious if this now “just works” would you be willing to test this out by sending a PR into this repo?

<!-- gh-comment-id:522679245 --> @gep13 commented on GitHub (Aug 19, 2019): @aequasi I am actually curious if this now “just works” would you be willing to test this out by sending a PR into this repo?
Author
Owner

@max commented on GitHub (Aug 19, 2019):

@gep13 This will not “just work”. We’ve recently launched an updated version of GitHub Actions that does enable this workflow. I can flag this repository in but it requires updating the configuration file – we have changed the format. I’m happy to send you all a PR...

<!-- gh-comment-id:522682918 --> @max commented on GitHub (Aug 19, 2019): @gep13 This will not “just work”. We’ve recently launched an updated version of GitHub Actions that does enable this workflow. I can flag this repository in but it requires updating the configuration file – we have changed the format. I’m happy to send you all a PR...
Author
Owner

@gep13 commented on GitHub (Aug 19, 2019):

@max oh wow! If you could do both of those things, that would be great, thank you!

<!-- gh-comment-id:522684068 --> @gep13 commented on GitHub (Aug 19, 2019): @max oh wow! If you could do both of those things, that would be great, thank you!
Author
Owner

@cryptiklemur commented on GitHub (Aug 19, 2019):

Is there any documentation on that?

<!-- gh-comment-id:522686204 --> @cryptiklemur commented on GitHub (Aug 19, 2019): Is there any documentation on that?
Author
Owner

@max commented on GitHub (Aug 19, 2019):

https://help.github.com/en/articles/about-github-actions

<!-- gh-comment-id:522687418 --> @max commented on GitHub (Aug 19, 2019): https://help.github.com/en/articles/about-github-actions
Author
Owner

@gep13 commented on GitHub (Aug 19, 2019):

Very happy to say that this is now up and running! Huge thanks to @max for his help on this!

<!-- gh-comment-id:522700000 --> @gep13 commented on GitHub (Aug 19, 2019): Very happy to say that this is now up and running! Huge thanks to @max for his help on this!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-actions#9444