Skip to content

Commit

Permalink
ci: fix GITHUB_TOKEN variable name can't be used (reserved) (#847)
Browse files Browse the repository at this point in the history
  • Loading branch information
levalleux-ludo authored Nov 20, 2024
1 parent 97e535e commit 1a013f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-testing-subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
secrets:
ORMI_0x_GRAPH_API_KEY_TESTING:
required: true
GITHUB_TOKEN:
GH_TOKEN:
required: true

jobs:
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
ORMI_0x_GRAPH_API_KEY: ${{ secrets.ORMI_0x_GRAPH_API_KEY_TESTING }}
- name: Commit & Push
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
git add .
git commit -m "chore: deploy testing subgraphs [skip ci]"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-alpha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ jobs:
if: needs.publish.outputs.SUBGRAPH_CHANGES == 'true'
secrets:
ORMI_0x_GRAPH_API_KEY_TESTING: ${{ secrets.ORMI_0x_GRAPH_API_KEY_TESTING }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1a013f9

Please sign in to comment.