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

Automerge dependabot package updates #23

Open
james-s-w-clark opened this issue Jun 17, 2022 · 3 comments
Open

Automerge dependabot package updates #23

james-s-w-clark opened this issue Jun 17, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@james-s-w-clark
Copy link
Contributor

There's a few Github Actions I can easily help with, if you're interested!

  1. Regular dependabot NPM package updates
  2. Automerge dependabot package updates
  3. Run tests on PR

I find these very helpful. It wouldn't take me long to add any of them :)

@arabello
Copy link
Collaborator

Running tests on PRs would be certainly helpful! Feel free to try it out!

I would avoid dependabot ATM as I think it would require testing out manually that everything is fine for each package update. It would be overwhelming: I prefer to spend my already short spare time dedicated to espanso hub to improve and add new features. Anyway It could be a great adding in the near future.

@james-s-w-clark
Copy link
Contributor Author

Run tests on PR PR

That makes sense RE dependabot :)

I will save some snippets here for a later date. Feel free to close the ticket if you don't want it to hang around 👍

.github/dependabot.yml

version: 2
updates:
  - package-ecosystem: "npm"
    directory: "/"
    schedule:
      interval: "daily"

/.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/[email protected]
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}

@arabello
Copy link
Collaborator

Thanks :) I'll leave it open as a future improvement

@arabello arabello changed the title more Github Actions Automerge dependabot package updates Jun 21, 2022
@arabello arabello added the enhancement New feature or request label Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants