From d8c9254765c5b3e48ead1033c74925afe367579e Mon Sep 17 00:00:00 2001 From: Lindsay Stewart Date: Wed, 22 Jan 2025 15:27:06 -0800 Subject: [PATCH 1/2] ci(duvet): add version input to duvet action --- .github/actions/duvet/action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/actions/duvet/action.yml b/.github/actions/duvet/action.yml index d6885f5fe..661f8e984 100644 --- a/.github/actions/duvet/action.yml +++ b/.github/actions/duvet/action.yml @@ -1,6 +1,10 @@ name: 'Duvet' description: 'Uses Duvet to generate a compliance report and uploads it to S3' inputs: + duvet-version: + description: 'Version string for Duvet' + default: latest + required: false report-script: description: 'Path to script that generates a Duvet report' required: true @@ -41,6 +45,7 @@ runs: - uses: camshaft/install@v1 with: crate: duvet + version: ${{ inputs.duvet-version }} - name: Generate Duvet report shell: bash From 924b58f486434476a4beeccb62c2c0deb1d7048c Mon Sep 17 00:00:00 2001 From: Lindsay Stewart Date: Wed, 22 Jan 2025 15:47:00 -0800 Subject: [PATCH 2/2] Test --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30e8305cb..7d062c9ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -388,6 +388,7 @@ jobs: submodules: true - uses: ./.github/actions/duvet with: + duvet-version: 0.3.0 report-script: ./scripts/compliance report-path: ./target/compliance/report.html role-to-assume: arn:aws:iam::024603541914:role/GitHubOIDCRole