File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change 11name : Check Release Branch Names
22
33on :
4- workflow_dispatch : # Allows manual triggering of the workflow
5-
4+ workflow_run :
5+ workflows : ["Single Tenant Deploy and Integration Test"]
6+ types : [completed]
7+ workflow_dispatch :
68jobs :
79 check_release_branches :
10+ if : ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
811 runs-on : ubuntu-latest
912
1013 steps :
1316
1417 - name : List Release branches
1518 run : |
16- # Fetch all branches
17- branches=$(git branch -r | grep 'origin/Release')
18-
19- # Check if any branches were found
20- if [ -n "$branches" ]; then
21- echo "Branches starting with 'Release':"
22- echo "$branches"
23- else
24- echo "No branches starting with 'Release' found."
25- fi
19+ echo "Downstream job completed successfully"
You can’t perform that action at this time.
0 commit comments