Skip to content
This repository has been archived by the owner on Dec 11, 2021. It is now read-only.

📦 Label, approve, and merge Dependabot pull requests automatically

License

Notifications You must be signed in to change notification settings

imaware/dependabot-pr-action

 
 

Repository files navigation

📦 Dependabot Pull Request Action

A GitHub Action to automatically label, approve, and merge pull requests made by Dependabot. This was built because the auto-merge feature was removed when Dependabot became a native-GitHub feature.

This is a fork of koj-co/dependabot-pr-action

⭐ Get started

You can run this workflow, for example, once every hour:

name: Auto-merge minor/patch
on:
  schedule:
    - cron: "0 * * * *"
jobs:
  test:
    name: Auto-merge minor and patch updates
    runs-on: ubuntu-18.04
    steps:
      - uses: imaware/dependabot-pr-action@master
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          merge-minor: true
          merge-patch: true
          merge-method: squash

Inputs

token (required)

Your GitHub token, usually {{ secrets.GITHUB_TOKEN }} or a personal access token if you have a bot account.

Optional inputs

Refer to original docs

New features is merge-method which allows for the action to merge, rebase, or squash. The default is rebase

📄 License

  • Code: MIT © Koj
  • "GitHub" is a trademark of GitHub, Inc.

About

📦 Label, approve, and merge Dependabot pull requests automatically

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.6%
  • JavaScript 2.4%