aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/update.yml
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-25 12:36:35 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-25 12:36:35 -0800
commitb4114dc0d1a5454545382e5ea6690f7fb3c73691 (patch)
treeae710bbdc63f40b3736d57e90e2ac56941c7fe50 /.github/workflows/update.yml
parentadd container security summit notes (diff)
downloadfcuny.net-b4114dc0d1a5454545382e5ea6690f7fb3c73691.tar.gz
Revert "stop using GHA"
This reverts commit ca451c165c8728f63bcacf0b38cd773fe060e076.
Diffstat (limited to '')
-rw-r--r--.github/workflows/update.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml
new file mode 100644
index 0000000..af05bdf
--- /dev/null
+++ b/.github/workflows/update.yml
@@ -0,0 +1,28 @@
+name: "Update flake.lock"
+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:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ - name: Install Nix
+ uses: cachix/install-nix-action@V27
+ with:
+ extra_nix_config: |
+ access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
+ - name: Update flake.lock
+ id: update-flake-lock
+ uses: DeterminateSystems/update-flake-lock@v23
+ with:
+ pr-title: "Update flake.lock"
+ commit-msg: "chore: update flake"
+ pr-assignees: fcuny
+ pr-labels: |
+ dependencies
+ automated