Skip to content

Commit

Permalink
ci: fix GITHUB_TOKEN secret used to push changes (#846)
Browse files Browse the repository at this point in the history
  • Loading branch information
levalleux-ludo authored Nov 20, 2024
1 parent 42df797 commit 97e535e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 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
BSNORG_ACTIONS_SECRET:
GITHUB_TOKEN:
required: true

jobs:
Expand Down Expand Up @@ -47,8 +47,7 @@ jobs:
ORMI_0x_GRAPH_API_KEY: ${{ secrets.ORMI_0x_GRAPH_API_KEY_TESTING }}
- name: Commit & Push
env:
GH_TOKEN: ${{ secrets.BSNORG_ACTIONS_SECRET }}
GITHUB_TOKEN: ${{ secrets.BSNORG_ACTIONS_SECRET }}
GH_TOKEN: ${{ secrets.GITHUB_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 }}
BSNORG_ACTIONS_SECRET: ${{ secrets.BSNORG_ACTIONS_SECRET }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 97e535e

Please sign in to comment.