Skip to content

Commit

Permalink
ci: Call semver_checks from a pull_request_target
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q committed Dec 17, 2024
1 parent a10769a commit e8e8e16
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,3 @@ jobs:
run: cargo test --verbose --no-default-features
- name: Tests with all features
run: cargo test --verbose --all-features

rs-semver-checks:
needs: [check]
if: ${{ github.event_name == 'pull_request' }}
uses: CQCL/hugrverse-actions/.github/workflows/rs-semver-checks.yml@main
secrets:
GITHUB_PAT: ${{ secrets.HUGRBOT_PAT }}
13 changes: 13 additions & 0 deletions .github/workflows/semver-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Rust Semver Checks
on:
pull_request_target:
branches:
- main

jobs:
rs-semver-checks:
uses: CQCL/hugrverse-actions/.github/workflows/rs-semver-checks.yml@main
with:
apt-dependencies: capnproto
secrets:
GITHUB_PAT: ${{ secrets.HUGRBOT_PAT }}

0 comments on commit e8e8e16

Please sign in to comment.