mirror of
https://github.com/sdras/awesome-actions.git
synced 2026-07-16 11:32:32 -05:00
[GH-ISSUE #187] Event not getting triggered on pull request label #671
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nikhil-bidgely on GitHub (Sep 17, 2019).
Original GitHub issue: https://github.com/sdras/awesome-actions/issues/187
I've created a workflow with two events
on: [pull_request_review, pull_request]. The entire flow gets triggered on reviews e.g. Approvals on PR.But when the PR is labeled the workflow isn't getting triggered, sample PR: https://github.com/nikhilaii93/testing/pull/2.
As per documentation pull_request covers labeled even but it's not happening. Please look into this and let me know. The workflow file is at triggerBuild
@xt0rted commented on GitHub (Sep 18, 2019):
You need to opt-in to the label event like so:
According to the docs only the
opened,synchronized, andreopenedevents trigger thepull_requestevent by default, the rest you need to opt-in to.@nikhil-bidgely commented on GitHub (Sep 18, 2019):
@xt0rted Thanks for pointing this out, I couldn't have figured this out. Can you please answer a couple more questions?
@xt0rted commented on GitHub (Sep 18, 2019):
I'm not sure, you should try asking on the community forum. That's where the team has been answering questions like this. https://github.community/t5/GitHub-Actions/bd-p/actions
@nikhil-bidgely commented on GitHub (Sep 18, 2019):
@xt0rted Thanks, I'm closing the issue.