Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Commit

Permalink
Create automerge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick2bad4u authored Apr 18, 2024
1 parent 9480444 commit 65e9a4c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Enable automerge on dependabot PRs

on:
# See note below about using pull_request_target
pull_request_target:

jobs:
automerge:
name: Enable automerge on dependabot PRs
runs-on: windows-latest
steps:
- name: Enable automerge on dependabot PRs
uses: daneden/enable-automerge-action@v1
with:
# A personal access token that you have generated and saved in the
# repo or org’s encrypted secrets
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

# The name of the PR author to enable automerge for
# Defaults to dependabot[bot]
allowed-author: "dependabot[bot]"

# Allowed values: MERGE | SQUASH | REBASE
# Defaults to MERGE
merge-method: MERGE

0 comments on commit 65e9a4c

Please sign in to comment.