Skip to content

Check which event triggered the workflow #26784

Answered by rcowsill
joaocasarin asked this question in Actions
Discussion options

You must be logged in to vote

You can check the event type like this:

    if: ${{ github.event_name == 'pull_request' }}

Replies: 3 comments

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants