From c2ed829ec554493599a0db92bee341bd9cb6146d Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Fri, 26 Apr 2024 19:15:33 +0000 Subject: [PATCH] CI: Add workflow to automatically trigger audit aggregation --- .github/workflows/aggregate-audits.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/aggregate-audits.yml diff --git a/.github/workflows/aggregate-audits.yml b/.github/workflows/aggregate-audits.yml new file mode 100644 index 000000000..5b1eccc06 --- /dev/null +++ b/.github/workflows/aggregate-audits.yml @@ -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"