in Technology by
How to use events to trigger workflows?

1 Answer

0 votes
by

Use the on key to specify what events trigger your workflow. 

Using a single event

For example, a workflow with the following on value will run when a push is made to any branch in the workflow's repository:

on: push

Using multiple events

You can specify a single event or multiple events. For example, a workflow with the following on value will run when a push is made to any branch in the repository or when someone forks the repository:

on: [push, fork]

If you specify multiple events, only one of those events needs to occur to trigger your workflow. If multiple triggering events for your workflow occur at the same time, multiple workflow runs will be triggered.

Related questions

0 votes
    How to use multiple events in trigger workflows?...
asked Jun 19, 2023 in Technology by JackTerrance
0 votes
    How to automatically trigger GitHub Actions workflows?...
asked Jun 19, 2023 in Technology by JackTerrance
0 votes
    I posted a question about my Dynamic Trigger yesterday and it turns out my last issue was due to including one ... INT SELECT @lastGroup = MAX(GroupNumber) FROM #Changes WHILE @i...
asked May 26, 2022 in Education by JackTerrance
0 votes
    I posted a question about my Dynamic Trigger yesterday and it turns out my last issue was due to including one ... INT SELECT @lastGroup = MAX(GroupNumber) FROM #Changes WHILE @i...
asked May 13, 2022 in Education by JackTerrance
0 votes
    I'm not advanced programmer in SQL and maybe my question is silly, but I haven't found an answer ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 2, 2022 in Education by JackTerrance
0 votes
    I would really appreciate if someone can guide me to check if a particular field is included in update call inside ... . Many thanks. Select the correct answer from above options...
asked Feb 4, 2022 in Education by JackTerrance
0 votes
    What is Trigger and how many types of triggers in WPF?...
asked Apr 8, 2021 in Education by JackTerrance
0 votes
    Which command in the CLI will trigger the 'default` task? A. run default gulp B. run gulp default C. gulp D. All the options E. run gulp...
asked Feb 3, 2023 in Technology by JackTerrance
0 votes
    If you had enabled a Conditional Access Policy for External Users using multi-factor authentication, and then also ... users, would they trigger both when accessing content?...
asked Mar 10, 2021 in Technology by JackTerrance
0 votes
    Types of Report trigger available in the Oracle Reports ?...
asked Dec 22, 2020 in Technology by JackTerrance
0 votes
    What is Trigger in Salesforce?...
asked Nov 12, 2020 in Technology by JackTerrance
0 votes
    What is a Time Trigger in Salesforce?...
asked Nov 12, 2020 in Technology by JackTerrance
0 votes
0 votes
    What is minimum test coverage required for trigger to deploy?...
asked Nov 11, 2020 in Technology by JackTerrance
0 votes
    What is a Trigger?...
asked Nov 9, 2020 in Technology by Editorial Staff
...