Skip to content

Commit

Permalink
Use updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q committed Oct 25, 2024
1 parent f0205e4 commit da0f6ca
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/unsoundness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
miri:
name: "Miri"
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- name: Install Miri
Expand All @@ -39,15 +40,19 @@ jobs:
- name: Test with Miri
run: cargo miri test

notify-failure:

notify-slack:
uses: CQCL/hugrverse-actions/.github/workflows/slack-notifier.yml@ab/slack-notifier
needs: miri
if: ${{ needs.miri.result == 'failure' && ( github.event_name == 'workflow_dispatch' || github.event_name == 'push' ) }}
with:
channel-id: 'C04SHCL4FKP'
slack-message: |
The unsoundness check for CQCL/HUGR failed. <https://github.com/CQCL/hugr/actions/runs/${{ github.run_id }}|Please investigate>.
# An unique identifier for the message type, to use in rate limiting.
message-label: "hugr-unsoundness"
# Rate-limit the message to once per day
timeout-minutes: 1440
# A repository variable used to store the last message timestamp.
timeout-variable: "UNSOUNDNESS_MSG_SENT"
secrets:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
GITHUB_PAT: ${{ secrets.HUGRBOT_PAT }}

0 comments on commit da0f6ca

Please sign in to comment.