Skip to content

Commit 371268f

Browse files
authored
ci(release): don't run release-please workflow in forks (weaveworks#4845)
1 parent 350e2a6 commit 371268f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release-please.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ permissions:
1313
jobs:
1414
release-please:
1515
runs-on: ubuntu-latest
16+
if: "${{ github.repository_owner == 'weaveworks' && github.ref_name == 'main'}}"
1617
steps:
1718
- id: release
1819
uses: googleapis/release-please-action@a02a34c4d625f9be7cb89156071d8567266a2445 # v4.2.0

0 commit comments

Comments
 (0)