From 29946d348b7d03b805648edd1f45f27c14993be9 Mon Sep 17 00:00:00 2001 From: Ross Smith Date: Tue, 17 Dec 2024 00:10:21 -0500 Subject: [PATCH 1/2] use github token as GH_TOKEN --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0d26c23..c8f85a9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -34,7 +34,7 @@ jobs: - name: fetch and upload envoy (linux) env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | ./scripts/fetch-envoy ${{ steps.tagName.outputs.tag }} linux amd64 ./scripts/fetch-envoy ${{ steps.tagName.outputs.tag }} linux arm64 @@ -42,7 +42,7 @@ jobs: - name: fetch and upload our built envoy (darwin) env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN}} run: | gh release download -R pomerium/envoy-build ${{ steps.tagName.outputs.tag }} gh release upload ${{ steps.tagName.outputs.tag }} envoy-darwin-* --clobber From f50355726f745000060d8c26612738790b697a38 Mon Sep 17 00:00:00 2001 From: Ross Smith Date: Tue, 17 Dec 2024 00:52:12 -0500 Subject: [PATCH 2/2] use real token for fetching packages --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c8f85a9..ad0ba04 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -42,7 +42,7 @@ jobs: - name: fetch and upload our built envoy (darwin) env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN}} + GH_TOKEN: ${{ secrets.APPARITOR_GITHUB_TOKEN }} run: | gh release download -R pomerium/envoy-build ${{ steps.tagName.outputs.tag }} gh release upload ${{ steps.tagName.outputs.tag }} envoy-darwin-* --clobber