Skip to content

Commit 071a220

Browse files
XhmikosRJustinBeckwith
andauthoredJan 11, 2021
build: fix release action (#240)
When we are not on the upstream repo, don't run the release action Co-authored-by: Justin Beckwith <beckwith@google.com>
1 parent b78be5d commit 071a220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- run: npm ci
5252
- run: npm run docs-test
5353
release:
54-
if: github.ref == 'refs/heads/master'
54+
if: github.repository == 'JustinBeckwith/linkinator' && github.ref == 'refs/heads/master'
5555
runs-on: ubuntu-latest
5656
needs: [test, lint]
5757
steps:

0 commit comments

Comments
 (0)
Please sign in to comment.