1 name: External benchmark
10 if: github.repository == 'poolifier/poolifier'
11 runs-on: [self-hosted, external-benchmark]
14 working-directory: benchmarks/versus-external-pools
17 uses: actions/checkout@v4
19 uses: pnpm/action-setup@v2
23 uses: actions/setup-node@v3
27 - name: Install dependencies
28 run: pnpm install --ignore-scripts
30 if: github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'
33 if: github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'
35 COMMIT_MESSAGE: 'docs: update benchmark versus external pools results'
36 COMMIT_AUTHOR: Benchmark Bot
37 COMMIT_EMAIL: benchmark-bot@users.noreply.github.com
39 git config --local user.name "${{ env.COMMIT_AUTHOR }}"
40 git config --local user.email "${{ env.COMMIT_EMAIL }}"
41 git commit -a -m "${{ env.COMMIT_MESSAGE }}"
43 if: github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'
44 uses: CasperWA/push-protected@v2
46 token: ${{ secrets.GH_TOKEN_PROTECTED }}
47 branch: ${{ github.event.repository.default_branch }}