Skip to content

Commit

Permalink
Merge branch 'dev' into field-trip-tweaks-sept-23
Browse files Browse the repository at this point in the history
  • Loading branch information
miles-grant-ibigroup authored Oct 3, 2023
2 parents 41cf1b2 + 38ea2a8 commit a2a2bb0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

name: Auto-approve and enable auto-merge on dependabot PRs
on: pull_request_target

jobs:
auto-approve-and-automerge:
# sources:
# https://github.com/hmarr/auto-approve-action
# https://github.com/marketplace/actions/enable-pull-request-automerge#dependabot-example
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: github.actor == 'dependabot[bot]'
steps:
- name: Auto-approve PR
uses: hmarr/auto-approve-action@v3
- name: Enable auto-merge
run: gh pr merge --merge --auto ${{ github.event.pull_request.number }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a2a2bb0

Please sign in to comment.