about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-10-10 19:45:24 -0700
committerFranck Cuny <franck@fcuny.net>2022-10-10 19:45:24 -0700
commite418dfe070e881233bfd2a7ec2a5984def961a83 (patch)
tree62bdc834c0c49494db037ca3f3e1a39bc11225bc
parentfeat(ops/github): set the name of the default branch (diff)
downloadworld-e418dfe070e881233bfd2a7ec2a5984def961a83.tar.gz
ci: update the flake once a week
This is going to fail anyway since it will try to update a flake from a
private repository and it won't work. But once I make the repository
public it will start working.

Also remove the token,  want the PR to be open as the github-actions
bot.
-rw-r--r--.github/workflows/update.yaml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml
index 7da6c2a..a695ef4 100644
--- a/.github/workflows/update.yaml
+++ b/.github/workflows/update.yaml
@@ -2,7 +2,7 @@ name: update-flake-lock
 on:
   workflow_dispatch:
   schedule:
-    - cron: '0 6 * * *'
+    - cron: '40 5 * * 0'
 
 jobs:
   update-flake-lock:
@@ -18,5 +18,3 @@ jobs:
       - name: Update flake.lock
         id: update-flake-lock
         uses: DeterminateSystems/update-flake-lock@v14
-        with:
-          token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}