diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-12-29 10:10:59 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-12-29 10:10:59 -0800 |
| commit | 646d5e9bdcd5f4e139904d53f372a2290bfff0f8 (patch) | |
| tree | 93a6a8890a5dea39ee4183303f620bd64f59781d | |
| parent | starship is too noisy (diff) | |
| download | infra-646d5e9bdcd5f4e139904d53f372a2290bfff0f8.tar.gz | |
add GHA to update flake
| -rw-r--r-- | .github/workflows/flake-updater.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/flake-updater.yml b/.github/workflows/flake-updater.yml new file mode 100644 index 0000000..33713b1 --- /dev/null +++ b/.github/workflows/flake-updater.yml @@ -0,0 +1,24 @@ +name: ❄️ Flake Lock Updater + +on: + workflow_dispatch: + schedule: + - cron: "30 5 * * 0" + +# you need to grant permissions to create PR: +# https://github.com/DeterminateSystems/update-flake-lock/issues/75 +jobs: + update-flake-lock: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: DeterminateSystems/nix-installer-action@v16 + - uses: DeterminateSystems/update-flake-lock@v24 + with: + token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} + pr-title: "Update flake.lock" + commit-msg: "chore: update flake" + pr-assignees: fcuny + pr-labels: | + dependencies + automated |
