Skip to content

Commit

Permalink
ci: Call semver_checks from pull_request_target (#107)
Browse files Browse the repository at this point in the history
Fixes errors when running the workflow for dependabot

See CQCL/hugr#1661
  • Loading branch information
aborgna-q authored Dec 17, 2024
1 parent 44b688f commit 94cc78e
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 94cc78e

Please sign in to comment.