wf test
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user