This commit is contained in:
m3tm3re
2026-01-17 11:07:27 +01:00
parent 6ee5035bcb
commit 4c996e3fcc

View File

@@ -2,19 +2,19 @@ name: Update Nix Packages with nix-update
on:
schedule:
- cron: '0 2 * * *'
- cron: "0 2 * * *"
workflow_dispatch: # Allow manual triggering
inputs:
package:
description: 'Specific package to update (optional)'
description: "Specific package to update (optional)"
required: false
type: string
env:
GIT_AUTHOR_NAME: 'nix-update bot'
GIT_AUTHOR_EMAIL: 'bot@m3ta.dev'
GIT_COMMITTER_NAME: 'nix-update bot'
GIT_COMMITTER_EMAIL: 'bot@m3ta.dev'
GIT_AUTHOR_NAME: "nix-update bot"
GIT_AUTHOR_EMAIL: "bot@m3ta.dev"
GIT_COMMITTER_NAME: "nix-update bot"
GIT_COMMITTER_EMAIL: "bot@m3ta.dev"
jobs:
nix-update:
@@ -27,7 +27,7 @@ jobs:
export GIT_ASKPASS="/bin/echo"
# Clone repository with token authentication
git clone --depth 0 --no-single-branch \
git clone --no-single-branch \
"https://${{ secrets.NIX_UPDATE_TOKEN }}@code.m3ta.dev/m3tam3re/nixpkgs.git" \
/workspace/m3tam3re/nixpkgs
@@ -57,7 +57,6 @@ jobs:
echo "has_flake=false" >> $GITHUB_OUTPUT
fi
- name: Update packages
id: update
run: |