diff --git a/.github/workflows/sync_first_100_blocks_smoke_test.yml b/.github/workflows/sync_first_100_blocks_smoke_test.yml index 4f1f29b59b..7e603043c3 100644 --- a/.github/workflows/sync_first_100_blocks_smoke_test.yml +++ b/.github/workflows/sync_first_100_blocks_smoke_test.yml @@ -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 @@ -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: |