CI: Add workflow to automatically trigger audit aggregation

This commit is contained in:
Jack Grigg 2024-04-26 19:15:33 +00:00
parent 895afe51f7
commit c2ed829ec5
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"