From b4ba717e3388046231d6424df3b3b79d65b61d72 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Mon, 25 Dec 2023 20:02:53 -0800 Subject: [PATCH] allow to run CI from flake lock update --- .github/workflows/lock-update.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lock-update.yaml b/.github/workflows/lock-update.yaml index 2b89d8e..7debd14 100644 --- a/.github/workflows/lock-update.yaml +++ b/.github/workflows/lock-update.yaml @@ -1,7 +1,6 @@ name: update-flake-lock on: - workflow_dispatch: # allows manual triggering - pull_request: # triggers on every Pull Request + workflow_dispatch: schedule: - cron: '0 * * * 0' # runs daily at 00:00 @@ -17,5 +16,6 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} extra-conf: "system-features = nixos-test benchmark big-parallel kvm" - name: Update flake.lock - if: ${{ github.event_name != 'pull_request' }} uses: DeterminateSystems/update-flake-lock@main + with: + token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}