Skip to content

Commit

Permalink
ci: suppress inactive repo update weekly
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryolitia committed Jul 16, 2024
1 parent 8c9838f commit aa570e6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/update-flake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,14 @@ jobs:
- name: Update flake
run: |
set +e
nix flake update --accept-flake-config
nix flake info --accept-flake-config
- name: Update flake
run: |
# suppress inactive repo update weekly
git log --pretty=format:"%s" -1 HEAD | grep "dep: flake update" || exit 0
git add .
git status
git commit -m "dep: flake update $(date +'%Y-%m-%dT%H:%M:%S')" || exit 0
Expand Down

0 comments on commit aa570e6

Please sign in to comment.