Unverified Commit dbc97305 authored by Benjamin Woodruff's avatar Benjamin Woodruff Committed by GitHub

[ci] Rename GRAPHITE_TOKEN to GRAPHITE_CI_OPTIMIZER_TOKEN (#94166)

This secret got renamed when we issued a new one. Discussion:
https://vercel.slack.com/archives/C01LN7C5QR5/p1777662825523989

<img width="670" height="226" alt="Screenshot 2026-05-27 at 12 12 42 PM"
src="https://github.com/user-attachments/assets/65c3d125-a493-4b02-b461-3a5292604ad6"
/>


<img width="446" height="167" alt="Screenshot 2026-05-27 at 12 11 42 PM"
src="https://github.com/user-attachments/assets/24e226fb-5818-45de-9883-e8fd7d0d26c6"
/>
parent daf10c37
...@@ -18,7 +18,7 @@ on: ...@@ -18,7 +18,7 @@ on:
description: "'true' if expensive CI checks should be skipped, 'false' otherwise." description: "'true' if expensive CI checks should be skipped, 'false' otherwise."
value: ${{ jobs.optimize-ci.outputs.skip }} value: ${{ jobs.optimize-ci.outputs.skip }}
secrets: secrets:
GRAPHITE_TOKEN: GRAPHITE_CI_OPTIMIZER_TOKEN:
description: 'The Graphite CI optimization secret' description: 'The Graphite CI optimization secret'
# secrets are not available in forks, check-skip will just fail-open with a warning # secrets are not available in forks, check-skip will just fail-open with a warning
required: false required: false
...@@ -46,13 +46,13 @@ jobs: ...@@ -46,13 +46,13 @@ jobs:
continue-on-error: true continue-on-error: true
uses: withgraphite/graphite-ci-action@ee395f3a78254c006d11339669c6cabddf196f72 # main uses: withgraphite/graphite-ci-action@ee395f3a78254c006d11339669c6cabddf196f72 # main
with: with:
graphite_token: ${{ secrets.GRAPHITE_TOKEN }} graphite_token: ${{ secrets.GRAPHITE_CI_OPTIMIZER_TOKEN }}
- name: Debug Output - name: Debug Output
run: | run: |
echo 'github.event_name: ${{ github.event_name }}' echo 'github.event_name: ${{ github.event_name }}'
echo "secrets.GRAPHITE_TOKEN != '': ${GRAPHITE_TOKEN}" echo "secrets.GRAPHITE_CI_OPTIMIZER_TOKEN != '': ${GRAPHITE_CI_OPTIMIZER_TOKEN_NON_EMPTY}"
echo 'env.HAS_BYPASS_LABEL: ${{ env.HAS_BYPASS_LABEL }}' echo 'env.HAS_BYPASS_LABEL: ${{ env.HAS_BYPASS_LABEL }}'
echo 'steps.check-skip.outputs.skip: ${{ steps.check-skip.outputs.skip }}' echo 'steps.check-skip.outputs.skip: ${{ steps.check-skip.outputs.skip }}'
env: env:
GRAPHITE_TOKEN: ${{ secrets.GRAPHITE_TOKEN != '' }} GRAPHITE_CI_OPTIMIZER_TOKEN_NON_EMPTY: ${{ secrets.GRAPHITE_CI_OPTIMIZER_TOKEN != '' }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment