Skip to content

Commit

Permalink
ci: action runs on all branches but only triggers release for master
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlangrose authored Aug 18, 2022
1 parent 359209c commit 13d4521
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
on:
push:
branches:
- master
name: release-please
jobs:
continuous-integration:
Expand Down Expand Up @@ -49,6 +47,7 @@ jobs:
release-please:
runs-on: ubuntu-latest
needs: documentation-test
if: github.ref == 'refs/heads/master'
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
id: release
Expand Down

0 comments on commit 13d4521

Please sign in to comment.