Skip to content

Commit

Permalink
[AJ-1692] Auto approve Dependabot PRs (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
nawatts authored Apr 22, 2024
1 parent ea3d597 commit d6e14f1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/auto-approve-dependabot-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Dependabot auto-approve
on: pull_request

permissions:
pull-requests: write

jobs:
dependabot:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

1 comment on commit d6e14f1

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: d6e14f1 Previous: ea3d597 Ratio
bio.terra.pfb.LibraryBenchmarks.showNodesMedium 3154.962399902253 ops/s 3150.3691222310354 ops/s 1.00
bio.terra.pfb.LibraryBenchmarks.showNodesSmall 37301.23703930082 ops/s 36917.17598188007 ops/s 1.01
bio.terra.pfb.PfbReaderBenchmarks.convertEnum 5220374.163591899 ops/s 5247795.558012135 ops/s 0.99

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.