mirror of
https://github.com/blahai/nyx.git
synced 2025-01-18 11:00:20 +00:00
Workflows: fix
This commit is contained in:
parent
96a828f471
commit
14c09208ac
1 changed files with 13 additions and 1 deletions
14
.github/workflows/flake-update.yml
vendored
14
.github/workflows/flake-update.yml
vendored
|
@ -12,4 +12,16 @@ jobs:
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: cachix/install-nix-action@v30
|
uses: cachix/install-nix-action@v30
|
||||||
- name: Update flake packages
|
- name: Update flake packages
|
||||||
uses: selfuryon/nix-update-action@v1.1.0
|
run: nix flake update
|
||||||
|
- name: Commit changes
|
||||||
|
run: |
|
||||||
|
git config --global user.name "github-actions[bot]"
|
||||||
|
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
if [[ $(git status --porcelain) ]]; then
|
||||||
|
git add flake.lock
|
||||||
|
git commit -m "Chore: update flake.lock"
|
||||||
|
git push
|
||||||
|
else
|
||||||
|
echo "No changes to commit"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue