1 name: External benchmark
10 if: github.repository == 'poolifier/poolifier'
11 name: External benchmark
12 runs-on: [self-hosted, external-benchmark]
15 working-directory: benchmarks/versus-external-pools
18 uses: actions/checkout@v4
20 uses: pnpm/action-setup@v2
24 uses: actions/setup-node@v3
28 - name: Install dependencies
29 run: pnpm install --ignore-scripts
31 if: github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'
34 if: github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'
36 COMMIT_MESSAGE: 'docs: update benchmark versus external pools results'
37 COMMIT_AUTHOR: Benchmark Bot
38 COMMIT_EMAIL: benchmark-bot@users.noreply.github.com
40 git config --local user.name "${{ env.COMMIT_AUTHOR }}"
41 git config --local user.email "${{ env.COMMIT_EMAIL }}"
42 git commit -a -m "${{ env.COMMIT_MESSAGE }}"
44 if: github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'
45 uses: CasperWA/push-protected@v2
47 token: ${{ secrets.GH_TOKEN_PROTECTED }}
48 branch: ${{ github.event.repository.default_branch }}