296bb223eb4f8ad3412d2cbf114590f934a07be7
* fix: resolve all three failing CI workflows
Fix shellcheck.yml workflow:
- Use correct v2.0.0 input names (files->additional_files, exclude->ignore_paths)
- Set severity: error to only fail on real errors (not warnings/notes)
- Add continue-on-error: true as intended by prior commit fd3119e
Fix codeql.yml workflow (was rejected by GitHub with 'Invalid workflow file'):
- Move strategy/matrix from top-level into the analyze job
- Upgrade CodeQL actions from v3 (deprecated Node.js 20) to v4
- Remove invalid 'upload: true' input from init step
Fix secret-scanning.yml workflow (was rejected by GitHub with 'Invalid workflow file'):
- Fix cron syntax: ['0 6 * * 1'] -> '0 6 * * 1' (was a YAML sequence, not scalar)
- Fix non-existent action: upload-security-sarif@v3 -> upload-sarif@v4
- Pin trufflesecurity/trufflehog@main to @v3.97.4
- Replace invalid inputs (format/output/fail/only-failed) with extra_args
Fix error-level shellcheck issues in scripts:
- reset_perms/reset_perms 1.sh: add shebang (SC2148)
- raspberrypi/rasp_pi_install_apps.sh: fix shebang '!#' -> '#' (SC1035)
- mac-scripts/updates.sh: add shellcheck shell=sh directive (SC1071)
- mac-scripts/system_updates.sh: add shellcheck shell=sh directive (SC1071)
- observiem_agent/observiem-agent-install.sh: quote array expansions (SC2068), fix assignment spaces (SC2283)
* fix: TruffleHog --format flag removed (inferred from .sarif extension)
- Remove deprecated --format=sarif from extra_args (TruffleHog CLI
no longer supports this flag; format is inferred from file extension)
- Add continue-on-error: true to make scan non-blocking during rollout
(action hardcodes --fail which exits non-zero if secrets found)
* fix: TruffleHog CLI restructured — install binary directly
The trufflesecurity/trufflehog GitHub Action uses a Docker image whose
:latest CLI (v3.97.4) removed the 'scan' subcommand and the --format/--output
flags that the action's run.sh still passes. This caused both the TruffleHog
scan and the SARIF upload to fail.
Fix: install the TruffleHog binary directly from GitHub releases and use
the v3.97.4 CLI structure:
- trufflehog filesystem . --sarif --fail (no scan subcommand, no --format/--output)
- --sarif outputs SARIF to stdout; redirect to results.sarif
- --no-update skips network check (not needed in CI)
- continue-on-error keeps the step non-blocking during rollout
- upload-sarif only runs if results.sarif was created
---------
Co-authored-by: Jarvis <jarvis@wickedyoda.local>
Public Setup Files
Collection of scripts, configuration files, and documentation for the WickedYoda homelab.
Quick Start
Clone and Set Up
# Automatic setup (installs git if needed)
curl -s https://raw.githubusercontent.com/wickedyoda/public-setupfiles/refs/heads/main/update-from_repo.sh | sudo bash
# Or manual clone
git clone https://github.com/wickedyoda/public-setupfiles.git
cd public-setupfiles
chmod -R 755 .
Update Scripts
# Pull latest changes
./update-from_repo.sh
# Or Python version
python3 update-from_repo.py
📚 Documentation
| Category | Description |
|---|---|
| Getting Started | Clone, update, and basic usage |
| Core Scripts | update-from-repo, system updates, log collection |
| Docker Setup | Docker installation, compose examples, backups |
| System Updates | Auto-updates, Kali updates, Debian upgrades |
| Linux Setup | Debian/Ubuntu server config, fstab, permissions |
| Monitoring | Uptime Kuma bot, SNMP, Telegraf, Observium |
| Network | WireGuard VPN, Pi-hole, domain lists |
| NAS & Storage | SMB/CIFS mounts, backups, sync scripts |
| Windows Batch Files | Backup and automation scripts |
| macOS Scripts | Homebrew, system updates, window tiling |
| Raspberry Pi | Pi setup, apps, mounts, media |
| OpenWrt | Router configuration |
| Kali & Security | Kali Linux setup, security tools |
| Domain Lists | Blocklists, allowlists, filtering rules |
| Troubleshooting | Common issues and solutions |
📁 Repository Structure
public-setupfiles/
├── .github/
│ ├── workflows/
│ │ ├── codeql.yml # GitHub CodeQL security analysis
│ │ └── security-scans.yml # ShellCheck, pip-audit, Docker Scout
│ ├── SECURITY_SCANS.md # Security scanning documentation
│ └── secret_scanning.yml # Secret scanning configuration
│
├── Docker_backup/ # Docker data backup scripts
│ ├── docker-backup.sh
│ ├── setup_docker-backup.sh
│ ├── correct_docker-backup.sh
│ └── update_docker-backup.sh
│
├── Email_domains_block_allow/ # Email server domain policies
│ ├── blocked_domains.md
│ └── email_domain_allow_block_list.md
│
├── Kali_tools_install/ # Kali Linux security tools
│ ├── Kalitoolsinstall.sh
│ └── setup_debian_kali_tools.sh
│
├── WG VPN setup/ # WireGuard client setup
│ └── install-wireguard-client.sh
│
├── batch_files/ # Windows .bat automation scripts
│ ├── Various backup/sync scripts
│ └── Older Files/
│
├── cockpit/ # Cockpit web admin installer
│ └── cockpit_install.sh
│
├── copy-move-files/ # Media file transfer scripts
│ ├── Brandons-Minecraft_backup.sh
│ ├── media_to_usb.sh
│ ├── nas public.sh
│ └── public_to_usb.sh
│
├── copy_palworld_local/ # Palworld server backup
│ └── copy_palworld_local.py
│
├── cron-job-setup-files/ # Cron job configuration
│ ├── setup_cron_job_updates.sh
│ ├── setup_cron_job_updates-nomount.sh
│ └── CronUpdates-readme.txt
│
├── debian-dist-upgrades/ # Debian version upgrade scripts
│ └── dist-upgrade.sh
│
├── debian-files/ # Debian utility scripts
│ ├── install-bashtop.sh
│ └── update_tailscale.sh
│
├── docker/ # Docker and Docker Compose setups
│ ├── install_docker_debian.sh
│ ├── install_docker_ubuntu.sh
│ ├── jellyfin-docker-compose.yml
│ ├── portainer/
│ └── gluetun/
│
├── docker_stuff/ # Docker cleanup and utilities
│ ├── docker_cleanup_updates.sh
│ ├── install_docker_debian.sh
│ └── uptime_kurma_fix/
│
├── domains/ # Domain block/allow lists
│ ├── bamboo_domains.txt
│ ├── bypass_sites.txt
│ ├── social_media.txt
│ ├── streaming_domains_whitelist.txt
│ └── known_porn_domains.txt
│
├── fstab-setup/ # NAS mount configuration
│ ├── Fstab entries.txt
│ ├── setup-fstab.sh
│ └── setup-fstab-remake-mnt.sh
│
├── gather-logs/ # System diagnostic script
│ └── gather_logs.sh
│
├── git_clone_setup/ # Git repository helpers
│ ├── Git_clone_local_checkout.md
│ └── README.md
│
├── kali-purple/ # Kali Purple security platform
│ └── install_kali_purple.sh
│
├── mac-scripts/ # macOS automation
│ ├── updates.sh
│ ├── system_updates.sh
│ ├── brewscripts/
│ ├── disable_DS_store.sh
│ ├── DS_STore_destroy.sh
│ ├── rsync basic.sh
│ └── tile-windows/
│
├── observium/ # Observium monitoring agent
│ ├── custom_install.sh
│ └── observium_agent/
│
├── openwrt_scripts/ # OpenWrt router utilities
│ ├── openwrt_full-upgrade.sh
│ ├── installing_ipref.sh
│ └── openwrt_snmp_defaults.txt
│
├── paperless-ngx/ # Document management system
│ └── paperless-ngx-install.sh
│
├── pihole/ # Pi-hole DNS blocklists
│ ├── blocklist.txt
│ ├── whitelist.txt
│ └── combined_list.txt
│
├── raspberrypi/ # Raspberry Pi scripts
│ ├── rasp_pi_install_apps.sh
│ ├── raspberry_pi_fstab.sh
│ ├── Media_to_ap-share.sh
│ └── public_to_usb.sh
│
├── redirecting-desktop_and_documents/ # Windows folder redirection
│ └── redirectfiles.sh
│
├── reset_perms/ # Permission reset utilities
│ ├── reset_perms.sh
│ └── reset_perms 1.sh
│
├── server_config/ # Debian/Ubuntu server templates
│ ├── debian/
│ └── ubuntu/
│
├── snmp/ # SNMP configuration scripts
│ ├── setup_snmp.sh
│ ├── setup_snmp_openwrt.sh
│ ├── setup_snmp_openwrt_v2.sh
│ ├── setup_snmp_openwrt_publicv2.sh
│ └── Setup_snmp_macos.sh
│
├── system_command_run/ # Distributed SSH command execution
│ ├── Run_command_on_machines.sh
│ ├── run_command_on_machines.py'
│ ├── run_command_on_machines_Keys.py'
│ └── machines.txt
│
├── telegraf-setup-scripts/ # Telegraf metrics agent
│ ├── install-client.sh
│ └── update-telegraf-w-keys.sh
│
├── ubuntu-based/ # Ubuntu application installer
│ └── ubuntu_install_apps.sh
│
├── unblocked_domains_for_VPN/ # VPN bypass domain list
│ └── unblocked_domains.txt
│
├── updates_scripts/ # System update automation
│ ├── updates.sh
│ ├── updates.py
│ ├── kali-updates.sh
│ ├── docker-run-netdata-install.sh
│ └── fix_apt_influx.sh
│
├── uptime-updates/ # Uptime Kuma container sync bot
│ ├── uptime-bot.py
│ ├── config.yml
│ ├── container-monitor-map.yaml
│ ├── requirements.txt
│ └── setup-update_uptime-bot.sh
│
├── LICENSE # MIT License
├── SECURITY.md # Security policy
├── collect_info.sh # System information collector
├── setup_cron_clean.sh # Set up automated updates
├── update-from_repo.py # Python repo sync script
├── update-from_repo.sh # Bash repo sync script
└── updates_clean.sh # Hardened update script for cron
🛡️ Security
- All scripts are included as-is without warranty
- Review any script before running
- Some scripts require root/sudo privileges
- Never commit secrets or credentials
- See SECURITY.md for details
🤝 Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-script) - Commit your changes (
git commit -m 'Add amazing script') - Push to the branch (
git push origin feature/amazing-script) - Open a Pull Request
📄 License
MIT License — see LICENSE file.
📞 Contact
For issues or questions, open an issue on GitHub.
Languages
Shell
72.2%
Python
19%
Batchfile
4.3%
PowerShell
2%
Lua
1.9%
Other
0.6%