CI: Add local exceptions to flatpak-builder-lint

For some reason the action can no longer check if the URL generated in
the metainfo is reachable.
So to avoid keeping CI failing, local exceptions rule are
added.

Unfortunately it requires to keep a copy of exceptions already submitted
to Flathub.
This commit is contained in:
tytan652
2026-03-08 13:15:40 +01:00
committed by Ryan Foster
parent 5d04d51011
commit 60533db7c7
2 changed files with 9 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ runs:
: Run flatpak-builder-lint
return=0
result="$(flatpak-builder-lint --exceptions ${{ inputs.artifact }} ${{ inputs.path }})" || return=$?
result="$(flatpak-builder-lint --exceptions --user-exceptions ${GITHUB_ACTION_PATH}/exceptions.json ${{ inputs.artifact }} ${{ inputs.path }})" || return=$?
if [[ ${return} != 0 && -z "${result}" ]]; then
echo "::error::Error while running flatpak-builder-lint"

View File

@@ -0,0 +1,8 @@
{
"com.obsproject.Studio": [
"finish-args-flatpak-spawn-access",
"external-gitmodule-url-found",
"finish-args-host-filesystem-access",
"appstream-flathub-manifest-url-not-reachable"
]
}