From 00d2529e1cfd59662fda38668f50637578d5eb8b Mon Sep 17 00:00:00 2001 From: Michael Lieberman Date: Sun, 14 Apr 2024 18:06:47 +0000 Subject: [PATCH] Add github token secret to upload actions --- .github/workflows/releases.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index ab536df..195b41a 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -62,6 +62,8 @@ jobs: id: run-cargo-release run: cargo build --verbose --release && cargo test --verbose - name: Upload Release Asset + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} if: startsWith(github.ref, 'refs/tags/') run: gh release upload ${{github.event.release.tag_name}} target/release/skootrs # TODO: Don't make this hardcoded. @@ -97,6 +99,8 @@ jobs: name: skootrs.spdx.json path: skootrs.spdx.json - name: Push SBOM to release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} if: startsWith(github.ref, 'refs/tags/') run: gh release upload ${{github.event.release.tag_name}} skootrs.spdx.json provenance-bins: