profianinc / infrastructure

[RIP] Profian Inc Network Infrastructure
GNU Affero General Public License v3.0
9 stars 5 forks source link

ci: automate flake update #154

Closed rvolosatovs closed 2 years ago

rvolosatovs commented 2 years ago

Automatically run nix flake update See example at https://github.com/rvolosatovs/nixify/pull/22

Note that this is just the first step, most notably these PRs do not trigger push and pull_request workflows until manually closed and reopened. There are better workarounds https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs

I think the right thing to do is to use @enarxbot (or profianbot?) for this

Included a nixpkgs update commit, because we were quite out-of-date compared to upstream and MacOS actions could not fetch nixUnstable from caches anymore

rvolosatovs commented 2 years ago

This has already been tested in different repos, merging