Skip to content

Commit

Permalink
Update run-a-single-node-from-branch.yml with new Github App
Browse files Browse the repository at this point in the history
  • Loading branch information
AntiD2ta committed Jun 18, 2024
1 parent 45209c4 commit 6c6f8f2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/run-a-single-node-from-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,20 @@ jobs:
echo "NON_VALIDATOR_MODE=${{ inputs.non_validator_mode }}" >> $GITHUB_OUTPUT
fi
- name: Authenticate App
id: gh-app
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Trigger Node creation Repo Action
uses: benc-uk/workflow-dispatch@v1
with:
workflow: run-single-node.yml
repo: NethermindEth/post-merge-smoke-tests
ref: "main"
token: "${{ secrets.REPOSITORY_DISPATCH_TOKEN }}"
token: "${{ steps.gh-app.outputs.token }}"
inputs: '{
"github_username": "${{ github.actor }}",
"base_tag": "${{ env.BASE_TAG }}",
Expand Down

0 comments on commit 6c6f8f2

Please sign in to comment.