Skip to content

Commit

Permalink
Merge branch 'main' into create-pull-request/patch-1722414095
Browse files Browse the repository at this point in the history
  • Loading branch information
donniean authored Jul 31, 2024
2 parents e7d3494 + 82bb879 commit 703c2f8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 23 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Auto Merge
on: pull_request

permissions:
contents: write
pull-requests: write

jobs:
auto-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]' || github.actor == 'github-actions[bot]'
steps:
- name: Enable auto-merge for Dependabot or GitHub Actions Pull Requests
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
23 changes: 0 additions & 23 deletions .github/workflows/dependabot.auto-merge.yml

This file was deleted.

0 comments on commit 703c2f8

Please sign in to comment.