Skip to content

Commit 8fd9349

Browse files
committed
accept repo dispatches
1 parent 410b57b commit 8fd9349

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/process_docs_changes.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ on:
99
description: Which `metabase/metabase` branch triggered this workflow
1010
required: true
1111
type: string
12+
repository_dispatch:
13+
types: [docs_update]
1214

1315
jobs:
1416
build-and-commit:
1517
runs-on: ubuntu-latest
1618
env:
17-
MAIN_REPO_BRANCH: "${{ github.event.inputs.branch_name }}"
19+
MAIN_REPO_BRANCH: "${{ github.event.inputs.branch_name || github.event.client_payload.branch_name }}"
1820
steps:
1921
- uses: actions/checkout@v4
2022

0 commit comments

Comments
 (0)