Skip to content

Commit 6fca833

Browse files
authored
Merge pull request #2050 from Earlopain/only-publish-on-upstream
Only run publish workflow on upstream repo
2 parents e8ac379 + 2bc831c commit 6fca833

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ jobs:
77
publish:
88
name: Publish to RubyGems
99
runs-on: ubuntu-latest
10+
if: github.repository_owner == 'rubocop'
1011
permissions:
1112
actions: write
1213
contents: write

0 commit comments

Comments
 (0)