diff --git a/.forgejo/workflows/update-flake-lock.yml b/.forgejo/workflows/update-flake-lock.yml index d0a71541..989ce945 100644 --- a/.forgejo/workflows/update-flake-lock.yml +++ b/.forgejo/workflows/update-flake-lock.yml @@ -1,7 +1,9 @@ name: update-flake-lock run-name: ${{ github.actor }} - update-flake-lock on: - push + schedule: + - cron: '0 0 * * *' + # “At 00:00 daily." jobs: update-flake-lock: diff --git a/.forgejo/workflows/update-lock.yml b/.forgejo/workflows/update-lock.yml deleted file mode 100644 index ba61cfe4..00000000 --- a/.forgejo/workflows/update-lock.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: update-flake-lock - - -jobs: - lockfile: - runs-on: ubuntu - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - name: Install Nix - uses: https://git.sysctl.io/actions/nix-installer-action@v4 - - name: Update flake.lock - uses: https://git.sysctl.io/actions/update-flake-lock@main - with: - pr-title: "Update flake.lock" # Title of PR to be created - pr-labels: | # Labels to be set on the PR - dependencies - automated \ No newline at end of file