Skip to content

Commit

Permalink
third time is the charm
Browse files Browse the repository at this point in the history
  • Loading branch information
gurgunday committed Jun 8, 2024
1 parent 09b20a6 commit a65f9c1
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,22 @@ on:
jobs:
benchmark:
if: ${{ github.event.label.name == 'benchmark' }}
uses: fastify/workflows/.github/workflows/plugins-benchmark-pr.yml@v3
uses: fastify/workflows/.github/workflows/plugins-benchmark-pr.yml@main
with:
npm-script: bench

remove-label:
if: "always()"
needs: benchmark
runs-on: ubuntu-latest
steps:
- name: Remove benchmark label
uses: octokit/request-action@v2.x
id: remove-label
with:
route: DELETE /repos/{repo}/issues/{issue_number}/labels/{name}
repo: ${{ github.event.pull_request.base.repo.full_name }}
issue_number: ${{ github.event.pull_request.number }}
name: benchmark
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a65f9c1

Please sign in to comment.