Skip to content

Commit

Permalink
Remove conditional publish from ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nvictus committed Jan 8, 2024
1 parent 48c51e4 commit de21cc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,3 @@ jobs:
# Stop the build if there are Python syntax errors or undefined names
ruff . --select=E9,F63,F7,F82 --show-source
hatch run test
Release:
# Only run on v* tag events
if: startsWith(github.ref, 'refs/tags')
needs: [Lint, Test]
uses: open2c/bioframe/.github/workflows/publish.yml@main
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:

jobs:
Publish:
# prevents this action from running on forks
if: github.repository == 'open2c/bioframe'

runs-on: ubuntu-latest
permissions:
id-token: write
Expand Down

0 comments on commit de21cc8

Please sign in to comment.