Skip to content

Commit

Permalink
Replace dispatch token witn app one in pipelines (#1916)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechos authored Jun 24, 2024
1 parent 4e6dcd7 commit d9e6410
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/sync_first_100_blocks_smoke_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
steps:
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
repositories: "juno,juno-smoke-tests"

- name: Checkout code
uses: actions/checkout@v3

Expand All @@ -27,12 +36,12 @@ jobs:

- name: Build docker image
run: docker build --build-arg VM_DEBUG=true -t nethermindeth/juno .

- name: Checkout Juno Smoke Tests
uses: actions/checkout@v3.5.2
uses: actions/checkout@v4.1.7
with:
repository: NethermindEth/juno-smoke-tests
token: ${{ secrets.REPOSITORY_DISPATCH_TOKEN }}
token: ${{ steps.generate-token.outputs.token }}

- name: Run smoke tests
run: |
Expand Down

0 comments on commit d9e6410

Please sign in to comment.