Merge pull request #1375 from zcash/trigger-audit-aggregation

CI: Add workflow to automatically trigger audit aggregation
This commit is contained in:
str4d 2024-04-26 21:05:51 +01:00 committed by GitHub
commit 081be32443
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 22 additions and 0 deletions

22
.github/workflows/aggregate-audits.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: Aggregate audits
on:
push:
branches: main
paths:
- '.github/workflows/aggregate-audits.yml'
- 'supply-chain/audits.toml'
permissions:
contents: read
jobs:
trigger:
name: Trigger
runs-on: ubuntu-latest
steps:
- name: Trigger aggregation in zcash/rust-ecosystem
run: >
gh api repos/zcash/rust-ecosystem/dispatches
--field event_type="aggregate-audits"
--field client_payload[sha]="$GITHUB_SHA"