Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Github Actions dependabot #148

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

IdiosApps
Copy link
Contributor

@IdiosApps
Copy link
Contributor Author

IdiosApps commented Feb 2, 2023

PRs shouldn't be frequent, but you can also have:

.github/workflows/auto-merge.yml

name: auto-merge

on:
  pull_request:
    branches:
      - main

jobs:
  automerge:
    runs-on: ubuntu-latest
    permissions:
      pull-requests: write
      contents: write
    if: ${{ github.actor == 'dependabot[bot]' }}
    steps:
      - uses: fastify/github-action-merge-dependabot@v3.0.2
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}

FWIW, if anyone tries to make an account to abuse this:

Username may only contain alphanumeric characters or single hyphens, and cannot begin or end with a hyphen. Username dependabot[bot] is not available.

So the only concern is adding and extra file to remove some tiny toil 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant