From 43d3dc652b62929c9704832ab1ab300e70d067f1 Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Fri, 20 Sep 2024 09:46:59 +0100 Subject: [PATCH] fix: more token fixes --- .github/workflows/cid-verifier.yml | 4 ++-- .github/workflows/cron-denylist.yml | 2 +- .github/workflows/denylist-update.yml | 2 +- .github/workflows/denylist.yml | 4 ++-- .github/workflows/edge-gateway.yml | 4 ++-- .github/workflows/ipfs-gateway-race.yml | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cid-verifier.yml b/.github/workflows/cid-verifier.yml index 5e3f36c..92819c6 100644 --- a/.github/workflows/cid-verifier.yml +++ b/.github/workflows/cid-verifier.yml @@ -65,7 +65,7 @@ jobs: SENTRY_TOKEN: ${{secrets.SENTRY_TOKEN}} SENTRY_UPLOAD: ${{ secrets.SENTRY_UPLOAD }} with: - apiToken: ${{secrets.CF_GATEWAY_TOKEN }} + apiToken: ${{secrets.CF_TOKEN }} workingDirectory: 'packages/cid-verifier' environment: 'staging' changelog: @@ -109,6 +109,6 @@ jobs: SENTRY_TOKEN: ${{ secrets.SENTRY_TOKEN }} SENTRY_UPLOAD: ${{ secrets.SENTRY_UPLOAD }} with: - apiToken: ${{ secrets.CF_GATEWAY_TOKEN }} + apiToken: ${{ secrets.CF_TOKEN }} workingDirectory: 'packages/cid-verifier' environment: 'production' \ No newline at end of file diff --git a/.github/workflows/cron-denylist.yml b/.github/workflows/cron-denylist.yml index b277873..bf69f5b 100644 --- a/.github/workflows/cron-denylist.yml +++ b/.github/workflows/cron-denylist.yml @@ -30,5 +30,5 @@ jobs: - run: pnpm install - name: Run job env: - CF_API_TOKEN: ${{ secrets.CF_GATEWAY_TOKEN }} + CF_API_TOKEN: ${{ secrets.CF_TOKEN }} run: node packages/denylist/scripts/cli.js denylist sync --env ${{ matrix.env }} diff --git a/.github/workflows/denylist-update.yml b/.github/workflows/denylist-update.yml index 0a22c30..0bf6abf 100644 --- a/.github/workflows/denylist-update.yml +++ b/.github/workflows/denylist-update.yml @@ -35,5 +35,5 @@ jobs: - run: pnpm install - name: Run job env: - CF_API_TOKEN: ${{ secrets.CF_GATEWAY_TOKEN }} + CF_API_TOKEN: ${{ secrets.CF_TOKEN }} run: node packages/denylist/scripts/cli.js denylist update-remote ${{ toJSON(github.event.inputs.url) }} --env ${{ matrix.env }} --operation ${{ github.event.inputs.operation }} \ No newline at end of file diff --git a/.github/workflows/denylist.yml b/.github/workflows/denylist.yml index dfe31e6..ad7dfe5 100644 --- a/.github/workflows/denylist.yml +++ b/.github/workflows/denylist.yml @@ -58,7 +58,7 @@ jobs: SENTRY_TOKEN: ${{secrets.SENTRY_TOKEN}} SENTRY_UPLOAD: ${{ secrets.SENTRY_UPLOAD }} with: - apiToken: ${{secrets.CF_GATEWAY_TOKEN }} + apiToken: ${{secrets.CF_TOKEN }} workingDirectory: 'packages/denylist' environment: 'staging' changelog: @@ -103,6 +103,6 @@ jobs: SENTRY_TOKEN: ${{ secrets.SENTRY_TOKEN }} SENTRY_UPLOAD: ${{ secrets.SENTRY_UPLOAD }} with: - apiToken: ${{ secrets.CF_GATEWAY_TOKEN }} + apiToken: ${{ secrets.CF_TOKEN }} workingDirectory: 'packages/denylist' environment: 'production' diff --git a/.github/workflows/edge-gateway.yml b/.github/workflows/edge-gateway.yml index 18e8d6b..8d6f07b 100644 --- a/.github/workflows/edge-gateway.yml +++ b/.github/workflows/edge-gateway.yml @@ -65,7 +65,7 @@ jobs: SENTRY_TOKEN: ${{secrets.SENTRY_TOKEN}} SENTRY_UPLOAD: ${{ secrets.SENTRY_UPLOAD }} with: - apiToken: ${{secrets.CF_GATEWAY_TOKEN }} + apiToken: ${{secrets.CF_TOKEN }} workingDirectory: 'packages/edge-gateway' environment: 'staging' changelog: @@ -109,6 +109,6 @@ jobs: SENTRY_TOKEN: ${{ secrets.SENTRY_TOKEN }} SENTRY_UPLOAD: ${{ secrets.SENTRY_UPLOAD }} with: - apiToken: ${{ secrets.CF_GATEWAY_TOKEN }} + apiToken: ${{ secrets.CF_TOKEN }} workingDirectory: 'packages/edge-gateway' environment: 'production' \ No newline at end of file diff --git a/.github/workflows/ipfs-gateway-race.yml b/.github/workflows/ipfs-gateway-race.yml index fcfd526..c303ef9 100644 --- a/.github/workflows/ipfs-gateway-race.yml +++ b/.github/workflows/ipfs-gateway-race.yml @@ -87,7 +87,7 @@ jobs: - run: pnpm install - name: NPM Publish env: - NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} run: | cd packages/ipfs-gateway-race/dist npm publish --access=public