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 @@ -101,6 +101,22 @@ jobs:
101
101
automated-pr
102
102
version-bump
103
103
104
+ - name : Trigger brew test-bot
105
+ if : env.UPDATE_NEEDED == 'true' && steps.create-pr.outputs.pull-request-number
106
+ uses : actions/github-script@v6
107
+ with :
108
+ github-token : ${{ secrets.GITHUB_TOKEN }}
109
+ script : |
110
+ await github.rest.actions.createWorkflowDispatch({
111
+ owner: context.repo.owner,
112
+ repo: context.repo.repo,
113
+ workflow_id: 'test-bot.yml', # Must match the filename in .github/workflows/
114
+ ref: 'main',
115
+ inputs: {
116
+ head_sha: '${{ steps.create-pr.outputs.pull-request-head-sha }}'
117
+ }
118
+ });
119
+
104
120
# Wait for test-bot CI to complete
105
121
- name : Wait for test-bot to complete
106
122
if : env.UPDATE_NEEDED == 'true' && steps.create-pr.outputs.pull-request-number
You can’t perform that action at this time.
0 commit comments