File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 4040 # If the workflow wasn't manually triggered, then it should only be allowed to run to completion on the Friday
4141 # before Release Day.
4242 [[ $TODAY_DOW != 5 || $NEXT_RELEASE_DATE != $NEXT_TUESDAY_DATE ]] && echo "should_run=false" >> "$GITHUB_OUTPUT" || echo "should_run=true" >> "$GITHUB_OUTPUT"
43+ create-alpha-release-branch :
44+ runs-on : macos-latest
45+ needs : verify-should-run
46+ if : ${{ needs.verify-should-run.outputs.should-run == 'true' }}
47+ steps :
48+ - name : Invoke alpha workflow
49+ uses : actions/github-script@v6
50+ with :
51+ github-token : ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }}
52+ script : |
53+ await github.rest.actions.createWorkflowDispatch({
54+ owner: context.repo.owner,
55+ repo: context.repo.repo,
56+ workflow_id: 'create-release-branch.yml',
57+ ref: 'dev-5'
58+ });
4359 create-release-branch :
4460 runs-on : macos-latest
4561 needs : verify-should-run
You can’t perform that action at this time.
0 commit comments