-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatically merge dependabot PRs when they've passed tests
- Moving from the dependabot beta to the Github integrated one lost the ability to automerge, this should bring it back.
- Loading branch information
1 parent
e910250
commit f36a285
Showing
2 changed files
with
25 additions
and
16 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Label Actions | ||
on: | ||
pull_request: | ||
types: | ||
- labeled | ||
status: {} | ||
|
||
jobs: | ||
autosquash: | ||
if: github.event.label.name == 'autosquash' | ||
name: Autosquash | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: tibdex/[email protected] | ||
with: | ||
github_token: ${{ secrets.BOT_GITHUB_KEY }} | ||
automerge-dependabot: | ||
if: github.event.label.name == 'dependencies' | ||
name: Automerge Dependabot PRs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Dependabot Auto Merge | ||
uses: ahmadnassri/[email protected] | ||
with: | ||
github_token: ${{ secrets.BOT_GITHUB_KEY }} |