Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update workflow automation to run if the workflow is manually triggered #2328

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/automationTemplate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ jobs:
git status
git add -A

# Check if build/constants.yaml has updates
if git diff --quiet --exit-code -- build/constants.yaml; then
# Skip further checks if the event is not a push and there are no updates in build/constants.yaml
if [[ "${{ github.event_name }}" != "push" ]] && git diff --quiet --exit-code -- build/constants.yaml; then
echo "No new ${{ inputs.platformName }} SDK versions detected. Canceling workflow..."
cancelWorkflow=1
else
Expand Down