summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-07-29 00:28:49 +0800
committertranch <tranch.xiao@gmail.com>2026-07-29 00:28:49 +0800
commit301945ffb4db538ff25cece94a66acf80223340a (patch)
treeb7cfe9b20909f656284442a30f2570da5d14146d /.github/workflows
parentb91d3103578f0e812f1ab05ae9beb2e889cac8f1 (diff)
downloadAeroCore-OS-301945ffb4db538ff25cece94a66acf80223340a.tar.gz
AeroCore-OS-301945ffb4db538ff25cece94a66acf80223340a.zip
Allow live user to launch installer
Authorize only the local active liveuser session for Anaconda's specific polkit action, avoiding the transient password prompt. Validate installer polkit rule syntax in the pull request workflow.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/validate-installer-iso.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/validate-installer-iso.yml b/.github/workflows/validate-installer-iso.yml
index 131ad5b..391afd8 100644
--- a/.github/workflows/validate-installer-iso.yml
+++ b/.github/workflows/validate-installer-iso.yml
@@ -38,3 +38,9 @@ jobs:
bash -n "$script"
done
bash -n system_files/usr/libexec/aerocore-instruments-setup
+
+ - name: Validate installer polkit rules
+ run: |
+ for rule in installer/system_files/overrides/etc/polkit-1/rules.d/*.rules; do
+ node --check < "$rule"
+ done