diff --git a/.github/workflows/nix_flake_update.yml b/.github/workflows/nix_flake_update.yml new file mode 100644 index 000000000..74c285d01 --- /dev/null +++ b/.github/workflows/nix_flake_update.yml @@ -0,0 +1,26 @@ +--- +name: Nix Flake Update + +on: # yamllint disable-line rule:truthy + workflow_dispatch: + + schedule: + - cron: "0 0 1 * *" + +jobs: + nix-flake-update: + runs-on: ubuntu-22.04 + + permissions: + contents: write + pull-requests: write + + steps: + - uses: actions/checkout@v4 + - uses: DeterminateSystems/nix-installer-action@v13 + - uses: DeterminateSystems/magic-nix-cache-action@v6 + + - uses: DeterminateSystems/update-flake-lock@v23 + with: + pr-labels: dependencies + pr-title: "stylix: update all flake inputs"