Skip to content

Commit 13d4521

Browse files
authored
ci: action runs on all branches but only triggers release for master
1 parent 359209c commit 13d4521

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release-please.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
on:
22
push:
3-
branches:
4-
- master
53
name: release-please
64
jobs:
75
continuous-integration:
@@ -49,6 +47,7 @@ jobs:
4947
release-please:
5048
runs-on: ubuntu-latest
5149
needs: documentation-test
50+
if: github.ref == 'refs/heads/master'
5251
steps:
5352
- uses: GoogleCloudPlatform/release-please-action@v2
5453
id: release

0 commit comments

Comments
 (0)