Skip to content

Pull requests trigger duplicate checks for both [push] and [pull_request] #26940

Answered by BrightRan
rdmurphy asked this question in Actions
Discussion options

You must be logged in to vote

@rdmurphy ,

This is a correct behavior, not an issue. In the Checks of a PR, it will list all the jobs from the workflows run on the push  event and the  pull_request  event based on the latest commit in the HEAD branch (source branch of the PR). Currently, we have no methods to only list the the jobs run on the pull_request  event.

Because you configure your “Node CI” workflow runs on both push and  pull_request , when you push commit the workflow will be triggered, and when the PR is Open , this workflow also will be triggered by the pull_request. So on the checks list of your PR, it will list two similar checks triggered by different events ( push and  pull_request ).

Replies: 8 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@joffrey-bion
Comment options

@javiertuya
Comment options

@joffrey-bion
Comment options

@javiertuya
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment