npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

dependabot-pr-action

v1.1.12

Published

Starter for GitHub Actions with TypeScript and automated releases

Downloads

22

Readme

📦 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.

Build CI Release CI Node CI

⭐ 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: koj-co/dependabot-pr-action@master
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          merge-minor: true
          merge-patch: true

Inputs

token (required)

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

Optional inputs

To add labels to the Dependabot pull request, you can specify a comma-separated string of labels:

| Input | Description | | ------------------- | ------------------------------ | | labels-major | Labels for major releases | | labels-minor | Labels for minor releases | | labels-patch | Labels for patch releases | | labels-premajor | Labels for premajor releases | | labels-preminor | Labels for preminor releases | | labels-prepatch | Labels for prepatch releases | | labels-prerelease | Labels for prerelease releases |

To configure the workflow, you can set any of these inputs to true:

| Input | Description | | ----------------------- | ------------------------------ | | approve | Approve all releases | | approve-major | Approve major releases | | approve-minor | Approve minor releases | | approve-patch | Approve patch releases | | approve-premajor | Approve premajor releases | | approve-preminor | Approve preminor releases | | approve-prepatch | Approve prepatch releases | | approve-prerelease | Approve prerelease releases | | auto-label | Auto label all releases | | auto-label-major | Auto label major releases | | auto-label-minor | Auto label minor releases | | auto-label-patch | Auto label patch releases | | auto-label-premajor | Auto label premajor releases | | auto-label-preminor | Auto label preminor releases | | auto-label-prepatch | Auto label prepatch releases | | auto-label-prerelease | Auto label prerelease releases | | merge | Merge all releases | | merge-major | Merge major releases | | merge-minor | Merge minor releases | | merge-patch | Merge patch releases | | merge-premajor | Merge premajor releases | | merge-preminor | Merge preminor releases | | merge-prepatch | Merge prepatch releases | | merge-prerelease | Merge prerelease releases |

  • If you set any auto-label parameter to true, the release type (major, minor, etc.) label will be added to the pull request automatically, if all checks have passed
  • If you set any merge parameter to true, the resulting pull request will be auto-merged, if all checks have passed
  • If you set any approve parameter to true, the pull request will be automatically approved (with a pull request review), if all checks have passed

If you don't want to check for status checks, you can set the input ignore-status-checks to true. You can also set the merge-commit input if you want a custom merge commit message.

📄 License

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