Skip to content

Commit 548567b

Browse files
hsbtclaude
andcommitted
Add repository_dispatch trigger to build workflow
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent dbea508 commit 548567b

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
schedule:
55
- cron: '15 */8 * * *'
66

7+
repository_dispatch:
8+
types: [build]
9+
710
workflow_dispatch:
811
inputs:
912
ruby_version:
@@ -25,9 +28,9 @@ on:
2528
type: string
2629

2730
env:
28-
ruby_version: ${{ github.event.inputs.ruby_version || 'master' }}
29-
ruby_commit_date_offset: ${{ github.event.inputs.ruby_commit_date_offset || '0' }}
30-
ruby_sha: ${{ github.event.inputs.ruby_sha || '' }}
31+
ruby_version: ${{ github.event.inputs.ruby_version || github.event.client_payload.ruby_version || 'master' }}
32+
ruby_commit_date_offset: ${{ github.event.inputs.ruby_commit_date_offset || github.event.client_payload.ruby_commit_date_offset || '0' }}
33+
ruby_sha: ${{ github.event.inputs.ruby_sha || github.event.client_payload.ruby_sha || '' }}
3134
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3235

3336
jobs:

0 commit comments

Comments
 (0)