Skip to content

Commit daecb2d

Browse files
authored
ci: chain release-please after docgen
1 parent 841ad50 commit daecb2d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release-please.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
on:
2-
push:
3-
branches:
4-
- main
2+
workflow_run:
3+
workflows: ["docgen"]
4+
types:
5+
- completed
56

67
permissions:
78
contents: write
@@ -12,6 +13,7 @@ name: release-please
1213
jobs:
1314
release-please:
1415
runs-on: ubuntu-latest
16+
if: ${{ github.ref == 'refs/heads/main' }}
1517
steps:
1618
- uses: googleapis/release-please-action@v4
1719
with:

0 commit comments

Comments
 (0)