Williamhe/update workflow automation workflow to run if the workflow 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
This commit is contained in:
william-msft 2024-01-09 16:43:47 -08:00 коммит произвёл GitHub
Родитель fcec826389
Коммит 26426808cc
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

2
.github/workflows/automationTemplate.yaml поставляемый
Просмотреть файл

@ -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