ci: skip self-test when pihole missing; remove stale audit and copilot automerge workflow #40
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
.audit/report.yaml).copilot/*branches.Description
.audit/report.yamlwhich contained a generated audit report and is no longer required..github/workflows/yaml-automerge-pilot.ymlto remove the copilot automerge automation..github/workflows/ci-sanity.ymlso the script self-test first runsbash -nand then only executes the real self-test whenpiholeis present by checkingcommand -v pihole >/dev/null 2>&1, otherwise it prints a skip message.Testing
bash -n pihole_maintenance_pro.shwas run and returned success (no syntax errors).shellcheck -x pihole_maintenance_pro.sh scripts/*.sh tools/*.shcould not be executed becauseshellcheckis not installed in the environment (unavailable).shfmt -d .could not be executed becauseshfmtis not installed in the environment (unavailable).RUN_SELFTEST=1 bash pihole_maintenance_pro.sh --no-apt --no-upgrade --no-gravity --no-dnsreloadfailed locally due to thepiholeCLI being absent, which is why the CI change skips the self-test whenpiholeis missing.Codex Task