Skip to content

Trigger Job on branch created #26286

Answered by BrightRan
dmfilipenko asked this question in Actions
Nov 14, 2019 · 16 comments · 4 replies
Discussion options

You must be logged in to vote

Hi @dmfilipenko ,

You can use the Create event to do this, mode details please reference here:
https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows#create-event-create
Note: When you create a new branch, in the branch which the new branch is based on, the YAML file for the Create event workflow must have been existing, otherwise the new branch will not trigger the workflow run.

Replies: 16 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

You must be logged in to vote
1 reply
@venkatamutyala
Comment options

Comment options

You must be logged in to vote
1 reply
@TWiStErRob
Comment options

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
0 replies
Comment options

You must be logged in to vote
1 reply
@LyKos4
Comment options

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
1 reply
@wizlif
Comment options

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
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD