Skip to content

Commit

Permalink
Williamhe/update workflow automation workflow to run if the workflow …
Browse files Browse the repository at this point in the history
…is manually triggered (#2335)

* Update workflow automation to run if the workflow is manually triggered

* Update workflow automation to run if the workflow is manually triggered

* Update condition for checking the github workflow was manually triggered

* Update condition for checking the github workflow was manually triggered

* Update condition for checking the github workflow was manually triggered
  • Loading branch information
william-msft committed Jan 10, 2024
1 parent fcec826 commit 2642680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/automationTemplate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
git add -A
# Skip further checks if the event is not a manual trigger.
if [ "${{ github.event_name }}" != "workflow_dispatch" ]; then
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
echo "Forcing the workflow step because the event was manually ran."
cancelWorkflow=0
# Check there are no updates in build/constants.yaml
Expand Down

0 comments on commit 2642680

Please sign in to comment.