File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 runs-on : ubuntu-latest
1515 steps :
1616 - uses : actions/checkout@v6
17+ - uses : actions/create-github-app-token@v1
18+ id : app-token
19+ with :
20+ app-id : ${{ vars.TROPI_APP_ID }}
21+ private-key : ${{ secrets.TROPI_APP_PRIVATE_KEY }}
1722 - run : npx @dappnode/dappnodesdk github-action bump-upstream --use-variants
1823 env :
19- GITHUB_TOKEN : ${{ secrets.DAPPNODE_ACTIONS_PR_CREATOR }}
24+ GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
2025 PINATA_API_KEY : ${{ secrets.PINATA_API_KEY }}
2126 PINATA_SECRET_API_KEY : ${{ secrets.PINATA_SECRET_API_KEY }}
Original file line number Diff line number Diff line change @@ -37,13 +37,18 @@ jobs:
3737 needs : [build]
3838 steps :
3939 - uses : actions/checkout@v6
40+ - uses : actions/create-github-app-token@v1
41+ id : app-token
42+ with :
43+ app-id : ${{ vars.TROPI_APP_ID }}
44+ private-key : ${{ secrets.TROPI_APP_PRIVATE_KEY }}
4045 - name : Run staker test runner
4146 run : |
4247 docker run --rm --pull=always \
4348 --network dncore_network -e EXECUTION_CLIENT=${{ github.event.inputs.execution_client }} \
4449 -v /var/run/docker.sock:/var/run/docker.sock \
4550 -e MODE=test -e IPFS_HASH=${{ needs.build.outputs.ipfs_hash }} \
46- -e GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} -e GITHUB_REPOSITORY=${{ github.repository }} -e GITHUB_PR_NUMBER=${{ github.event.pull_request.number }} -e GITHUB_RUN_ID=${{ github.run_id }} -e GITHUB_SERVER_URL=${{ github.server_url }} \
51+ -e GITHUB_TOKEN=${{ steps.app-token.outputs.token }} -e GITHUB_REPOSITORY=${{ github.repository }} -e GITHUB_PR_NUMBER=${{ github.event.pull_request.number }} -e GITHUB_RUN_ID=${{ github.run_id }} -e GITHUB_SERVER_URL=${{ github.server_url }} \
4752 ghcr.io/dappnode/staker-test-util/test-runner:latest
4853
4954 release :
5560 - uses : actions/setup-node@v6
5661 with :
5762 node-version : " 22"
63+ - uses : actions/create-github-app-token@v1
64+ id : app-token
65+ with :
66+ app-id : ${{ vars.TROPI_APP_ID }}
67+ private-key : ${{ secrets.TROPI_APP_PRIVATE_KEY }}
5868 - name : Publish
5969 run : npx @dappnode/dappnodesdk publish patch --github-release --content_provider=http://10.200.200.7:5001 --eth_provider=https://web3.dappnode.net --timeout 2h --all-variants
6070 env :
61- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
71+ GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
6272 DEVELOPER_ADDRESS : " 0xf35960302a07022aba880dffaec2fdd64d5bf1c1"
Original file line number Diff line number Diff line change @@ -37,10 +37,15 @@ jobs:
3737 name : Execution Client Sync Test
3838 needs : [build]
3939 steps :
40+ - uses : actions/create-github-app-token@v1
41+ id : app-token
42+ with :
43+ app-id : ${{ vars.TROPI_APP_ID }}
44+ private-key : ${{ secrets.TROPI_APP_PRIVATE_KEY }}
4045 - name : Run sync
4146 run : |
4247 docker run --rm --pull=always --network dncore_network \
4348 -v /var/run/docker.sock:/var/run/docker.sock \
4449 -e MODE=sync -e CONSENSUS_CLIENT='teku' -e IPFS_HASH=${{ needs.build.outputs.ipfs_hash }} -e EXECUTION_CLIENT=${{ github.event.inputs.execution_client }} \
45- -e GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} -e GITHUB_REPOSITORY=${{ github.repository }} -e GITHUB_PR_NUMBER=${{ github.event.pull_request.number }} -e GITHUB_RUN_ID=${{ github.run_id }} -e GITHUB_SERVER_URL=${{ github.server_url }} \
50+ -e GITHUB_TOKEN=${{ steps.app-token.outputs.token }} -e GITHUB_REPOSITORY=${{ github.repository }} -e GITHUB_PR_NUMBER=${{ github.event.pull_request.number }} -e GITHUB_RUN_ID=${{ github.run_id }} -e GITHUB_SERVER_URL=${{ github.server_url }} \
4651 ghcr.io/dappnode/staker-test-util/test-runner:latest
You can’t perform that action at this time.
0 commit comments