mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
ci: fix update-maintainers reference location (#7357)
Moved from scripts to lib/python and forgot to update action Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
6
.github/workflows/update-maintainers.yml
vendored
6
.github/workflows/update-maintainers.yml
vendored
@@ -47,7 +47,7 @@ jobs:
|
||||
- name: Generate updated maintainers list
|
||||
run: |
|
||||
echo "📋 Generating updated all-maintainers.nix..."
|
||||
python3 ./scripts/generate-all-maintainers.py
|
||||
./lib/python/generate-all-maintainers.py
|
||||
- name: Check for changes
|
||||
id: check-changes
|
||||
run: "if git diff --quiet all-maintainers.nix; then\n echo \"No changes to all-maintainers.nix\"\n echo \"has_changes=false\" >> \"$GITHUB_OUTPUT\"\nelse\n echo \"Changes detected in all-maintainers.nix\"\n echo \"has_changes=true\" >> \"$GITHUB_OUTPUT\"\n \n # Get change statistics\n added=$(git diff --numstat all-maintainers.nix | cut -f1)\n removed=$(git diff --numstat all-maintainers.nix | cut -f2)\n echo \"changes_summary=+$added -$removed lines\" >> \"$GITHUB_OUTPUT\"\nfi\n"
|
||||
@@ -80,7 +80,7 @@ jobs:
|
||||
|
||||
Changes: ${{ steps.check-changes.outputs.changes_summary || 'No content changes' }}
|
||||
|
||||
Generated by: scripts/generate-all-maintainers.py"
|
||||
Generated by: lib/python/generate-all-maintainers.py"
|
||||
|
||||
# Push the branch
|
||||
git push origin "$branch_name"
|
||||
@@ -103,7 +103,7 @@ jobs:
|
||||
|
||||
## 🤖 Automation
|
||||
|
||||
- **Generated by:** `scripts/generate-all-maintainers.sh`
|
||||
- **Generated by:** `lib/python/generate-all-maintainers.sh`
|
||||
- **Trigger:** ${{ github.event_name == 'schedule' && 'Scheduled weekly update' || 'Manual workflow dispatch' }}
|
||||
- **Validation:** File syntax verified with `nix eval`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user