From b10afcc32e4023da6fa1a4ce75bc644037bb1823 Mon Sep 17 00:00:00 2001 From: max furman Date: Fri, 12 Jul 2024 10:09:55 -0700 Subject: [PATCH 1/2] Add codecov-token to ci workflow --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0fef18e..d0199505 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,9 @@ on: - "master" pull_request: workflow_call: + secrets: + CODECOV_TOKEN: + required: true concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} @@ -15,6 +18,10 @@ concurrency: jobs: ci: + permissions: + actions: read + contents: read + security-events: write uses: smallstep/workflows/.github/workflows/goCI.yml@main with: only-latest-golang: false From b99eb3c3afcf1948e3a5d56902d0c93f69a6e0f4 Mon Sep 17 00:00:00 2001 From: max furman Date: Fri, 12 Jul 2024 10:25:20 -0700 Subject: [PATCH 2/2] [action] switch to using ref_name in release action --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4286128f..837a0c67 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,8 +42,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ github.ref }} - name: Release ${{ github.ref }} + tag_name: ${{ github.ref_name }} + name: Release ${{ github.ref_name }} draft: false prerelease: ${{ steps.is_prerelease.outputs.IS_PRERELEASE }}