Relative Content

Tag Archive for githubgithub-actions

Start GihHub workflow with API

I’m trying to start a GitHub workflow using GitHub’s API as documented
here https://docs.github.com/en/rest/actions/workflows?apiVersion=2022-11-28#create-a-workflow-dispatch-event

Only trigger workflow if it is coming from a specific branch [duplicate]

This question already has answers here: Use `on` to filter by source and target branch for PR (2 answers) Closed 3 months ago. Given the following branches: main feature_1 feature_important_1 feature_2 feature_3 feature_important_2 feature_4 To trigger pipelines from any branch to branches named *_important_*, we can use: name: “some_name” on: pull_request: branches: – ‘*_important_*’ But […]

Only trigger workflow if it is coming from a specific branch [duplicate]

This question already has answers here: Use `on` to filter by source and target branch for PR (2 answers) Closed 3 months ago. Given the following branches: main feature_1 feature_important_1 feature_2 feature_3 feature_important_2 feature_4 To trigger pipelines from any branch to branches named *_important_*, we can use: name: “some_name” on: pull_request: branches: – ‘*_important_*’ But […]