orhun / binsider

Analyze ELF binaries like a boss πŸ˜ΌπŸ•΅οΈβ€β™‚οΈ
https://binsider.dev/
Apache License 2.0
2.76k stars 61 forks source link

chore(github): create PRs for nix flake updates automatically #85

Closed ch4og closed 1 month ago

ch4og commented 1 month ago

Description of change

Automatically creates PR with flake.lock update, which is file with Nix dependencies It doesn't run it on PRs not to create PRs from PRs

How has this been tested? (if applicable)

Here is action run https://github.com/thingsbych/binsider/actions/runs/11388924732/job/31687028064 And PR that it created https://github.com/thingsbych/binsider/pull/3

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 3.31%. Comparing base (03de375) to head (2f125ec). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #85 +/- ## ===================================== Coverage 3.31% 3.31% ===================================== Files 19 19 Lines 2417 2417 ===================================== Hits 80 80 Misses 2337 2337 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

orhun commented 1 month ago

I don't get why we need this. Can we maybe run it weekly like we do with Dependabot? Can you explain it a bit?

ch4og commented 1 month ago

Sadly dependabot can't update nix flakes (https://github.com/dependabot/dependabot-core/issues/7340), but ofc it can be ran weekly

EDIT: At first I misread your comment πŸ˜…

ch4og commented 1 month ago

Moved it from CI and set cron to weekly