aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/update-flake.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/update-flake.yml')
-rw-r--r--.github/workflows/update-flake.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/update-flake.yml b/.github/workflows/update-flake.yml
new file mode 100644
index 00000000..ad22120e
--- /dev/null
+++ b/.github/workflows/update-flake.yml
@@ -0,0 +1,28 @@
+name: Update Flake Lockfile
+
+on:
+ schedule:
+ # run weekly on sunday
+ - cron: "0 0 * * 0"
+ workflow_dispatch:
+
+permissions:
+ contents: write
+ pull-requests: write
+
+jobs:
+ update-flake:
+ if: github.repository == 'PrismLauncher/PrismLauncher'
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - uses: cachix/install-nix-action@v22
+
+ - uses: DeterminateSystems/update-flake-lock@v19
+ with:
+ commit-msg: "chore(nix): update lockfile"
+ pr-title: "chore(nix): update lockfile"
+ pr-labels: |
+ Linux
+ simple change