Skip to content

Commit

Permalink
Merge pull request #88 from Southern-Company-HA/remove_hacs_version
Browse files Browse the repository at this point in the history
fix: add auto merge?
  • Loading branch information
Lash-L authored Jul 23, 2024
2 parents fd15965 + 7e25cf5 commit 578a9e0
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/auto-merge.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
steps:
- uses: actions/checkout@v2
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
github-token: ${{ secrets.mytoken }}
name: Dependabot auto-merge
on: pull_request

permissions:
contents: write
pull-requests: write

jobs:
dependabot:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 578a9e0

Please sign in to comment.