Skip to content

Commit

Permalink
ci: restrict to only run on main
Browse files Browse the repository at this point in the history
  • Loading branch information
c-git committed Dec 23, 2024
1 parent 7035e84 commit 187c283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
release_compile:
name: ReleaseCompile
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event.workflow_run.conclusion == 'success' && github.ref == 'refs/heads/main' }}
steps:
- uses: wykies/checkout@main
- uses: wykies/setup-rust-toolchain@main
Expand Down

0 comments on commit 187c283

Please sign in to comment.