Skip to content

Commit 66d1b23

Browse files
committed
Update fpm-version-update.yml
1 parent be1e725 commit 66d1b23

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/fpm-version-update.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,22 @@ jobs:
101101
automated-pr
102102
version-bump
103103
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+
104120
# Wait for test-bot CI to complete
105121
- name: Wait for test-bot to complete
106122
if: env.UPDATE_NEEDED == 'true' && steps.create-pr.outputs.pull-request-number

0 commit comments

Comments
 (0)