From 646d5e9bdcd5f4e139904d53f372a2290bfff0f8 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 29 Dec 2024 10:10:59 -0800 Subject: add GHA to update flake --- .github/workflows/flake-updater.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/flake-updater.yml (limited to '.github/workflows') 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 -- cgit v1.2.3