mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
[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" />
This commit is contained in:
@@ -18,7 +18,7 @@ on:
|
||||
description: "'true' if expensive CI checks should be skipped, 'false' otherwise."
|
||||
value: ${{ jobs.optimize-ci.outputs.skip }}
|
||||
secrets:
|
||||
GRAPHITE_TOKEN:
|
||||
GRAPHITE_CI_OPTIMIZER_TOKEN:
|
||||
description: 'The Graphite CI optimization secret'
|
||||
# secrets are not available in forks, check-skip will just fail-open with a warning
|
||||
required: false
|
||||
@@ -46,13 +46,13 @@ jobs:
|
||||
continue-on-error: true
|
||||
uses: withgraphite/graphite-ci-action@ee395f3a78254c006d11339669c6cabddf196f72 # main
|
||||
with:
|
||||
graphite_token: ${{ secrets.GRAPHITE_TOKEN }}
|
||||
graphite_token: ${{ secrets.GRAPHITE_CI_OPTIMIZER_TOKEN }}
|
||||
- name: Debug Output
|
||||
run: |
|
||||
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 'steps.check-skip.outputs.skip: ${{ steps.check-skip.outputs.skip }}'
|
||||
|
||||
env:
|
||||
GRAPHITE_TOKEN: ${{ secrets.GRAPHITE_TOKEN != '' }}
|
||||
GRAPHITE_CI_OPTIMIZER_TOKEN_NON_EMPTY: ${{ secrets.GRAPHITE_CI_OPTIMIZER_TOKEN != '' }}
|
||||
|
||||
Reference in New Issue
Block a user