Skip to content

Commit ad67c17

Browse files
ci: Get ETH_RPC_URL from the org secrets in the main workflow
Composite actions can't access secrets directly #time 17m
1 parent d6b83b2 commit ad67c17

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/substreams-docker/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ runs:
4141
- name: Run protocol tests
4242
env:
4343
PROTOCOLS: ${{ inputs.protocols }}
44-
RPC_URL: ${{ secrets.ETH_RPC_URL }}
44+
RPC_URL: ${{ env.RPC_URL }}
4545
SUBSTREAMS_API_TOKEN: ${{ env.SUBSTREAMS_API_TOKEN }}
4646
run: |
4747
docker compose up --abort-on-container-exit --exit-code-from test-runner

.github/workflows/substreams.tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Substreams Tests
22

33
env:
4-
RPC_URL: ${{ secrets.RPC_URL }}
4+
RPC_URL: ${{ secrets.ETH_RPC_URL }}
55
SUBSTREAMS_API_TOKEN: ${{ secrets.SUBSTREAMS_API_TOKEN }}
66
AUTH_API_KEY: ${{ secrets.AUTH_API_KEY }}
77
EXCLUDED_SUBSTREAMS: target|crates|ethereum-template-factory|ethereum-template-singleton

0 commit comments

Comments
 (0)