From a2e62824c38f54cc56239dee805a8be8e29336d6 Mon Sep 17 00:00:00 2001 From: "Simon W. Jackson" <189379+simonwjackson@users.noreply.github.com> Date: Tue, 3 Sep 2024 19:32:11 -0500 Subject: [PATCH] ci: disable remote flake updates --- .github/workflows/nix-flake-update.yaml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/nix-flake-update.yaml b/.github/workflows/nix-flake-update.yaml index bda87fe..cecd534 100644 --- a/.github/workflows/nix-flake-update.yaml +++ b/.github/workflows/nix-flake-update.yaml @@ -1,14 +1,12 @@ name: Nix Flake Update - on: schedule: - - cron: '0 8 * * *' # 3:00 AM CST - + - cron: 0 8 * * * # 3:00 AM CST jobs: check: runs-on: ubuntu-22.04 permissions: - id-token: "write" + id-token: write contents: write pages: write steps: @@ -20,11 +18,10 @@ jobs: run: | nix flake update nix flake check - - - name: Commit and Push Changes - run: | - git config --global user.email "github-actions@example.com" - git config --global user.name "GitHub Actions" - git add flake.lock - git commit -m "Update flake.lock" - git push +# - name: Commit and Push Changes +# run: | +# git config --global user.email "github-actions@example.com" +# git config --global user.name "GitHub Actions" +# git add flake.lock +# git commit -m "Update flake.lock" +# git push