mirror of
https://github.com/stan220/flathub.git
synced 2026-09-08 17:28:57 +00:00
fedc: Support commit-only arg through flathub.json
Fixes https://github.com/flathub-infra/flatpak-external-data-checker/issues/163
This commit is contained in:
@@ -32,6 +32,10 @@ for repo in "${checker_apps[@]}"; do
|
||||
if jq -e '."require-important-update"' < "$repo"/flathub.json > /dev/null; then
|
||||
FEDC_OPTS+=("--require-important-update")
|
||||
fi
|
||||
# disable sending PRs and only commit
|
||||
if jq -e '."fedc-commit-only" == true' < "$repo"/flathub.json > /dev/null; then
|
||||
FEDC_OPTS+=("--commit-only")
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -f $repo/${repo}.yml ]]; then
|
||||
|
||||
Reference in New Issue
Block a user