fastify / workflows

Reusable workflows for use in the Fastify organization
MIT License
9 stars 6 forks source link

Benchmark workflow #89

Closed Uzlopak closed 1 year ago

Uzlopak commented 1 year ago

Prerequisites

🚀 Feature Proposal

We should have a nice benchmark workflow for use in different repos.

While writing the benchmark workflow of fsj, i saw some issues, which should be tackled:

Motivation

No response

Example

No response

Uzlopak commented 1 year ago

@Fdawgs @RafaelGSS

Uzlopak commented 1 year ago

Multiline works with this: https://github.com/github/docs/issues/21529

Tested it

Uzlopak commented 1 year ago

Removing a label

  remove-label:
    if: "always()"
    needs: 
      - benchmark
      - output-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.head.repo.full_name }}
          issue_number: ${{ github.event.pull_request.number }}
          name: benchmark
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Uzlopak commented 1 year ago

Ok, proposed a solution

github-actions[bot] commented 10 months ago

🎉 This issue has been resolved in version 3.9.0 🎉

The release is available on: