Skip to content

Commit

Permalink
tweak to work better
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-r-warren committed May 6, 2024
1 parent 7452984 commit fdf7d9b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/sherlock-check-reviews.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: Review Check
on:
pull_request:
branches:
- main
pull_request_review:
types:
- edited
Expand All @@ -11,7 +8,7 @@ on:
branches:
- main
jobs:
check-reviews:
two-reviews:
runs-on: ubuntu-latest
permissions:
pull-requests: read
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/sherlock-dependabot-automerge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ jobs:
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}}
- name: Enable auto-merge for Dependabot PRs
env:
PR_URL: ${{ github.event.pull_request.html_url }}
Expand Down

0 comments on commit fdf7d9b

Please sign in to comment.