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 renovatebot #623

Merged
merged 1 commit into from
Feb 27, 2024
Merged

add renovatebot #623

merged 1 commit into from
Feb 27, 2024

Conversation

Migelo
Copy link
Contributor

@Migelo Migelo commented Feb 25, 2024

As discussed in #622 this pull request adds the renovatebot to this repo.

The current config will automatically merge minor updates and patches, major version bumps need to be merged manually.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.22%. Comparing base (39cc495) to head (49413f3).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #623      +/-   ##
==========================================
+ Coverage   73.09%   73.22%   +0.12%     
==========================================
  Files          49       49              
  Lines        3096     3096              
==========================================
+ Hits         2263     2267       +4     
+ Misses        833      829       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MisterTea
Copy link
Owner

Can you add a github action to run renovate? https://github.com/renovatebot/github-action

@Migelo
Copy link
Contributor Author

Migelo commented Feb 26, 2024

Something that runs every 15 minutes like this? Happy to do it!

name: Renovate
on:
  schedule:
    # The "*" (#42, asterisk) character has special semantics in YAML, so this
    # string has to be quoted.
    - cron: '0/15 * * * *'
jobs:
  renovate:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/[email protected]
      - name: Self-hosted Renovate
        uses: renovatebot/[email protected]
        with:
          configurationFile: example/renovate-config.js
          token: ${{ secrets.RENOVATE_TOKEN }}

I never knew one can run renovate as an action, I've always just let it run on its own accord, what benefits do you recon this brings?

@MisterTea
Copy link
Owner

"let it run on its own accord"

What does this mean? I assumed that without a GitHub action I would need to run some command regularly to get updates.

@Migelo
Copy link
Contributor Author

Migelo commented Feb 26, 2024

It just triggers every so often on its own. Without a schedule I guess it runs when the load on the bot is low? After adding renovate.json you simply need to enable https://github.com/apps/renovate for this repo and that is it, no gh action needed.

@MisterTea
Copy link
Owner

Oh! That's the part I was missing. Ok, with the GitHub hook we don't need an action.

@Migelo
Copy link
Contributor Author

Migelo commented Feb 26, 2024

Great. Then the only thing you need to do before merging this is to add the renovate GitHub app I linked above to this repo.

@MisterTea MisterTea merged commit fa9ef57 into MisterTea:master Feb 27, 2024
26 checks passed
@MisterTea
Copy link
Owner

Thanks!!

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.

3 participants