Skip to content

Commit

Permalink
[CI] Make publishing dependent on being in main repo
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonBein authored Dec 4, 2023
1 parent fbd7e65 commit 01e36bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ on:

jobs:
Release:

if: github.repository == 'bptlab/scylla' # Only main repo has permissions to publish this

runs-on: ubuntu-latest
permissions:
contents: write
Expand Down

0 comments on commit 01e36bb

Please sign in to comment.