Skip to content

Commit

Permalink
ci: disable remote flake updates
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwjackson committed Sep 4, 2024
1 parent 5032350 commit a2e6282
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/nix-flake-update.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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

0 comments on commit a2e6282

Please sign in to comment.