]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
ci: address yamllint warnings and errors
authorBenjamin Drung <benjamin.drung@canonical.com>
Fri, 15 Nov 2024 23:32:33 +0000 (00:32 +0100)
committerLaszlo <laszlo.gombos@gmail.com>
Sat, 16 Nov 2024 00:24:33 +0000 (19:24 -0500)
Address all warnings and errors from yamllint except some of the
line-length warnings:

```
yamllint -d "{extends: default, rules: {line-length: {max: 203}}}"  .
```

14 files changed:
.github/labeler.yml
.github/stale.yml
.github/workflows/codeql.yml
.github/workflows/container-extra.yml
.github/workflows/container.yml
.github/workflows/doc.yml
.github/workflows/integration-extra.yml
.github/workflows/integration.yml
.github/workflows/labels.yml
.github/workflows/lint.yml
.github/workflows/manualtest.yml
.github/workflows/pr.yml
.github/workflows/publish.yml
.github/workflows/release.yml

index ef759560e9f1117a14fef76336d360e99ea3fa56..de20d8480aac4f0dde81cac746016f9f2570bed5 100644 (file)
 ---
 repository:
   - changed-files:
-    - any-glob-to-any-file: './*'
+      - any-glob-to-any-file: './*'
 
 github:
   - changed-files:
-    - any-glob-to-any-file: ['.github/*', '.github/**/*']
+      - any-glob-to-any-file: ['.github/*', '.github/**/*']
 
 docs:
   - changed-files:
-    - any-glob-to-any-file: ['antora-playbook.yaml', 'README.*', 'man/*', 'doc_site/*', 'doc_site/**/*', 'doc_site/**/**/*', 'doc_site/**/**/**/*', 'doc_site/**/**/**/**/*']
+      - any-glob-to-any-file:
+          - antora-playbook.yaml
+          - README.*
+          - man/*
+          - doc_site/*
+          - doc_site/**/*
+          - doc_site/**/**/*
+          - doc_site/**/**/**/*
+          - doc_site/**/**/**/**/*
 
 man:
   - changed-files:
-    - any-glob-to-any-file: 'man/*'
+      - any-glob-to-any-file: 'man/*'
 
 kernel-install:
   - changed-files:
-    - any-glob-to-any-file: 'install.d/*'
+      - any-glob-to-any-file: 'install.d/*'
 
 shell-completion:
   - changed-files:
-    - any-glob-to-any-file: ['shell-completion/*', 'shell-completion/**/*']
+      - any-glob-to-any-file: ['shell-completion/*', 'shell-completion/**/*']
 
 dracut-cpio:
   - changed-files:
-    - any-glob-to-any-file: ['src/dracut-cpio/*', 'src/dracut-cpio/**/*']
+      - any-glob-to-any-file: ['src/dracut-cpio/*', 'src/dracut-cpio/**/*']
 
 dracut-install:
   - changed-files:
-    - any-glob-to-any-file: 'src/install/*'
+      - any-glob-to-any-file: 'src/install/*'
 
 dracut-util:
   - changed-files:
-    - any-glob-to-any-file: 'src/util/*'
+      - any-glob-to-any-file: 'src/util/*'
 
 skipcpio:
   - changed-files:
-    - any-glob-to-any-file: 'src/skipcpio/*'
+      - any-glob-to-any-file: 'src/skipcpio/*'
 
 c:
   - changed-files:
-    - any-glob-to-any-file: 'src/**/*.c'
+      - any-glob-to-any-file: 'src/**/*.c'
 
 modules:
   - changed-files:
-    - any-glob-to-any-file: ['modules.d/*', 'modules.d/**/*']
+      - any-glob-to-any-file: ['modules.d/*', 'modules.d/**/*']
 
 bash:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]bash/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]bash/*'
 
 dash:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]dash/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]dash/*'
 
 systemd:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd/*'
 
 warpclock:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]warpclock/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]warpclock/*'
 
 fips:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]fips/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]fips/*'
 
 fips-crypto-policies:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]fips-crypto-policies/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]fips-crypto-policies/*'
 
 systemd-battery-check:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-battery-check/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-battery-check/*'
 
 systemd-ac-power:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-ac-power/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-ac-power/*'
 
 systemd-ask-password:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-ask-password/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-ask-password/*'
 
 systemd-bsod:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-bsod/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-bsod/*'
 
 systemd-coredump:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-coredump/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-coredump/*'
 
 systemd-creds:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-creds/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-creds/*'
 
 systemd-hostnamed:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-hostnamed/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-hostnamed/*'
 
 systemd-initrd:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-initrd/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-initrd/*'
 
 systemd-integritysetup:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-integritysetup/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-integritysetup/*'
 
 systemd-journald:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-journald/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-journald/*'
 
 systemd-ldconfig:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-ldconfig/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-ldconfig/*'
 
 systemd-modules-load:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-modules-load/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-modules-load/*'
 
 systemd-networkd:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-networkd/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-networkd/*'
 
 systemd-network-management:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-network-management/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-network-management/*'
 
 systemd-pcrphase:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-pcrphase/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-pcrphase/*'
 
 systemd-portabled:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-portabled/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-portabled/*'
 
 systemd-pstore:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-pstore/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-pstore/*'
 
 systemd-repart:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-repart/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-repart/*'
 
 systemd-resolved:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-resolved/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-resolved/*'
 
 systemd-sysctl:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-sysctl/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-sysctl/*'
 
 systemd-sysext:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-sysext/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-sysext/*'
 
 systemd-sysusers:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-sysusers/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-sysusers/*'
 
 systemd-timedated:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-timedated/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-timedated/*'
 
 systemd-timesyncd:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-timesyncd/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-timesyncd/*'
 
 systemd-tmpfiles:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-tmpfiles/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-tmpfiles/*'
 
 systemd-udevd:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-udevd/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-udevd/*'
 
 systemd-veritysetup:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-veritysetup/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-veritysetup/*'
 
 caps:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]caps/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]caps/*'
 
 modsign:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]modsign/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]modsign/*'
 
 rescue:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]rescue/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]rescue/*'
 
 watchdog:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]watchdog/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]watchdog/*'
 
 watchdog-modules:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]watchdog-modules/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]watchdog-modules/*'
 
 busybox:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]busybox/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]busybox/*'
 
 dbus-broker:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]dbus-broker/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]dbus-broker/*'
 
 dbus-daemon:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]dbus-daemon/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]dbus-daemon/*'
 
 rngd:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]rngd/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]rngd/*'
 
 dbus:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]dbus/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]dbus/*'
 
 i18n:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]i18n/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]i18n/*'
 
 convertfs:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]convertfs/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]convertfs/*'
 
 connman:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]connman/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]connman/*'
 
 network-legacy:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]network-legacy/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]network-legacy/*'
 
 network-manager:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]network-manager/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]network-manager/*'
 
 network:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]network/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]network/*'
 
 url-lib:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]url-lib/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]url-lib/*'
 
 drm:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]drm/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]drm/*'
 
 plymouth:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]plymouth/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]plymouth/*'
 
 bluetooth:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]bluetooth/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]bluetooth/*'
 
 cms:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]cms/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]cms/*'
 
 lvmmerge:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]lvmmerge/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]lvmmerge/*'
 
 lvmthinpool-monitor:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]lvmthinpool-monitor/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]lvmthinpool-monitor/*'
 
 cio_ignore:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]cio_ignore/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]cio_ignore/*'
 
 btrfs:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]btrfs/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]btrfs/*'
 
 crypt:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]crypt/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]crypt/*'
 
 dm:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]dm/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]dm/*'
 
 dmraid:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]dmraid/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]dmraid/*'
 
 dmsquash-live:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]dmsquash-live/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]dmsquash-live/*'
 
 dmsquash-live-autooverlay:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]dmsquash-live-autooverlay/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]dmsquash-live-autooverlay/*'
 
 dmsquash-live-ntfs:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]dmsquash-live-ntfs/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]dmsquash-live-ntfs/*'
 
 kernel-modules:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]kernel-modules/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]kernel-modules/*'
 
 kernel-modules-extra:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]kernel-modules-extra/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]kernel-modules-extra/*'
 
 kernel-network-modules:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]kernel-network-modules/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]kernel-network-modules/*'
 
 livenet:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]livenet/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]livenet/*'
 
 lvm:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]lvm/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]lvm/*'
 
 mdraid:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]mdraid/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]mdraid/*'
 
 multipath:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]multipath/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]multipath/*'
 
 numlock:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]numlock/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]numlock/*'
 
 nvdimm:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]nvdimm/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]nvdimm/*'
 
 overlayfs:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]overlayfs/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]overlayfs/*'
 
 ppcmac:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]ppcmac/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]ppcmac/*'
 
 qemu:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]qemu/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]qemu/*'
 
 qemu-net:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]qemu-net/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]qemu-net/*'
 
 systemd-cryptsetup:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-cryptsetup/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]systemd-cryptsetup/*'
 
 crypt-gpg:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]crypt-gpg/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]crypt-gpg/*'
 
 crypt-loop:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]crypt-loop/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]crypt-loop/*'
 
 fido2:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]fido2/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]fido2/*'
 
 pcsc:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]pcsc/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]pcsc/*'
 
 pkcs11:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]pkcs11/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]pkcs11/*'
 
 tpm2-tss:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]tpm2-tss/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]tpm2-tss/*'
 
 zipl:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]zipl/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]zipl/*'
 
 cifs:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]cifs/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]cifs/*'
 
 dasd:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]dasd/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]dasd/*'
 
 dasd_mod:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]dasd_mod/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]dasd_mod/*'
 
 dcssblk:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]dcssblk/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]dcssblk/*'
 
 debug:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]debug/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]debug/*'
 
 fcoe:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]fcoe/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]fcoe/*'
 
 fcoe-uefi:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]fcoe-uefi/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]fcoe-uefi/*'
 
 fstab-sys:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]fstab-sys/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]fstab-sys/*'
 
 hwdb:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]hwdb/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]hwdb/*'
 
 iscsi:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]iscsi/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]iscsi/*'
 
 lunmask:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]lunmask/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]lunmask/*'
 
 nbd:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]nbd/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]nbd/*'
 
 nfs:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]nfs/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]nfs/*'
 
 nvmf:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]nvmf/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]nvmf/*'
 
 resume:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]resume/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]resume/*'
 
 rootfs-block:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]rootfs-block/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]rootfs-block/*'
 
 ssh-client:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]ssh-client/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]ssh-client/*'
 
 terminfo:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]terminfo/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]terminfo/*'
 
 udev-rules:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]udev-rules/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]udev-rules/*'
 
 virtfs:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]virtfs/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]virtfs/*'
 
 virtiofs:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]virtiofs/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]virtiofs/*'
 
 zfcp:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]zfcp/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]zfcp/*'
 
 znet:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]znet/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]znet/*'
 
 securityfs:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]securityfs/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]securityfs/*'
 
 biosdevname:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]biosdevname/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]biosdevname/*'
 
 masterkey:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]masterkey/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]masterkey/*'
 
 dracut-systemd:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]dracut-systemd/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]dracut-systemd/*'
 
 ecryptfs:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]ecryptfs/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]ecryptfs/*'
 
 integrity:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]integrity/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]integrity/*'
 
 pollcdrom:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]pollcdrom/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]pollcdrom/*'
 
 selinux:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]selinux/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]selinux/*'
 
 syslog:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]syslog/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]syslog/*'
 
 usrmount:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]usrmount/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]usrmount/*'
 
 base:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]base/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]base/*'
 
 fs-lib:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]fs-lib/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]fs-lib/*'
 
 img-lib:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]img-lib/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]img-lib/*'
 
 memstrack:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]memstrack/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]memstrack/*'
 
 shutdown:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]shutdown/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]shutdown/*'
 
 squash:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]squash/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]squash/*'
 
 squash-lib:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]squash-lib/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]squash-lib/*'
 
 squash-erofs:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]squash/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]squash/*'
 
 squash-squashfs:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]squash/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]squash/*'
 
 uefi-lib:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]uefi-lib/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]uefi-lib/*'
 
 net-lib:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]net-lib/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]net-lib/*'
 
 pcmcia:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]pcmcia/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]pcmcia/*'
 
 shell-interpreter:
   - changed-files:
-    - any-glob-to-any-file: 'modules.d/[0-9][0-9]shell-interpreter/*'
+      - any-glob-to-any-file: 'modules.d/[0-9][0-9]shell-interpreter/*'
 
 test:
   - changed-files:
-    - any-glob-to-any-file: ['test/*', 'test/**/*']
+      - any-glob-to-any-file: ['test/*', 'test/**/*']
index 539ebf513bbdb43a942da1f4f975666fff4b89ff..0a2ca657ad30dbd8eaf40dddd90262cbccde4433 100644 (file)
@@ -18,7 +18,8 @@ staleLabel: stale
 markComment: >
   This issue is being marked as stale because it has not had any recent activity.
   It will be closed if no further activity occurs.
-  If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days.
+  If this is still an issue in the latest release of Dracut and you would like
+  to keep it open please comment on this issue within the next 7 days.
   Thank you for your contributions.
 # Comment to post when closing a stale issue. Set to `false` to disable
 closeComment: false
index e502104ca43ffba8cff9161ed07eefd8464d092a..f8f1858f4f13f13589dd2fc72c24d34bd0204593 100644 (file)
@@ -4,7 +4,7 @@
 #
 name: "CodeQL"
 
-on:
+on:  # yamllint disable-line rule:truthy
   push:
     branches:
       - main
index ef4949b327a306597d39c857d0dcceb7dd2b35cb..0711797d360e3ed3a47f040bb737da86fce77e11 100644 (file)
@@ -1,17 +1,18 @@
 ---
-# Containers that takes longer to build or mainline, development, non-stable version of CI containers
+# Containers that takes longer to build or mainline, development, non-stable
+# version of CI containers
 name: Container (extra)
 
-on:
+on:  # yamllint disable-line rule:truthy
     schedule:
-        -  cron: '30 11 * * *'   # every day at 11:30 UTC
+        - cron: '30 11 * * *'   # every day at 11:30 UTC
     push:
-        branches: [ main ]
+        branches: [main]
         paths:
             - 'test/container/**'
             - '.github/workflows/container-extra.yml'
     pull_request:
-        branches: [ main ]
+        branches: [main]
         paths:
             - 'test/container/**'
             - '.github/workflows/container-extra.yml'
@@ -34,37 +35,37 @@ jobs:
             fail-fast: false
             matrix:
                 config:
-                    - { dockerfile: 'Dockerfile-debian', tag: 'debian:sid',     platform: 'linux/amd64' }
-                    - { dockerfile: 'Dockerfile-debian', tag: 'ubuntu:rolling', platform: 'linux/amd64' }
-                    - { dockerfile: 'Dockerfile-alpine', tag: 'alpine:edge',    platform: 'linux/amd64' }
-                    - { dockerfile: 'Dockerfile-gentoo', tag: 'gentoo:latest',  platform: 'linux/amd64', option: 'systemd' }
-                    - { dockerfile: 'Dockerfile-gentoo', tag: 'gentoo:amd64-openrc', platform: 'linux/amd64', option: 'amd64-openrc' }
-                    - { dockerfile: 'Dockerfile-fedora', tag: 'fedora:rawhide', platform: 'linux/amd64', registry: 'registry.fedoraproject.org' }
-                    - { dockerfile: 'Dockerfile-fedora', tag: 'centos:stream10-development', platform: 'linux/amd64', registry: 'quay.io/centos' }
+                    - {dockerfile: 'Dockerfile-debian', tag: 'debian:sid', platform: 'linux/amd64'}
+                    - {dockerfile: 'Dockerfile-debian', tag: 'ubuntu:rolling', platform: 'linux/amd64'}
+                    - {dockerfile: 'Dockerfile-alpine', tag: 'alpine:edge', platform: 'linux/amd64'}
+                    - {dockerfile: 'Dockerfile-gentoo', tag: 'gentoo:latest', platform: 'linux/amd64', option: 'systemd'}
+                    - {dockerfile: 'Dockerfile-gentoo', tag: 'gentoo:amd64-openrc', platform: 'linux/amd64', option: 'amd64-openrc'}
+                    - {dockerfile: 'Dockerfile-fedora', tag: 'fedora:rawhide', platform: 'linux/amd64', registry: 'registry.fedoraproject.org'}
+                    - {dockerfile: 'Dockerfile-fedora', tag: 'centos:stream10-development', platform: 'linux/amd64', registry: 'quay.io/centos'}
         steps:
-            -   name: Check out the repo
-                uses: actions/checkout@v4
-            -   name: Set up Docker Buildx
-                uses: docker/setup-buildx-action@v3
-            -   name: Login to GitHub Container Registry
-                uses: docker/login-action@v3
-                with:
-                    registry: ghcr.io
-                    username: ${{ github.repository_owner }}
-                    password: ${{ secrets.GITHUB_TOKEN }}
-            -   name: Set up env
-                run: echo "repository_owner=${GITHUB_REPOSITORY_OWNER,,}" >>${GITHUB_ENV}
-            -   name: Build and Push Container
-                uses: docker/build-push-action@v6
-                with:
-                    file: test/container/${{ matrix.config.dockerfile }}
-                    tags: ghcr.io/${{env.repository_owner}}/${{ matrix.config.tag }}
-                    push: ${{ github.event_name == 'push' ||  github.event_name == 'schedule' }}
-                    platforms: ${{ matrix.config.platform }}
-                    build-args: |
-                        DISTRIBUTION=${{ matrix.config.tag }}
-                        REGISTRY=${{ matrix.config.registry }}
-                        OPTION=${{ matrix.config.option }}
+            - name: Check out the repo
+              uses: actions/checkout@v4
+            - name: Set up Docker Buildx
+              uses: docker/setup-buildx-action@v3
+            - name: Login to GitHub Container Registry
+              uses: docker/login-action@v3
+              with:
+                  registry: ghcr.io
+                  username: ${{ github.repository_owner }}
+                  password: ${{ secrets.GITHUB_TOKEN }}
+            - name: Set up env
+              run: echo "repository_owner=${GITHUB_REPOSITORY_OWNER,,}" >>${GITHUB_ENV}
+            - name: Build and Push Container
+              uses: docker/build-push-action@v6
+              with:
+                  file: test/container/${{ matrix.config.dockerfile }}
+                  tags: ghcr.io/${{env.repository_owner}}/${{ matrix.config.tag }}
+                  push: ${{ github.event_name == 'push' ||  github.event_name == 'schedule' }}
+                  platforms: ${{ matrix.config.platform }}
+                  build-args: |
+                      DISTRIBUTION=${{ matrix.config.tag }}
+                      REGISTRY=${{ matrix.config.registry }}
+                      OPTION=${{ matrix.config.option }}
 
     arm64:
         if: github.repository == 'dracut-ng/dracut-ng' || vars.CONTAINER == 'enabled'
@@ -77,29 +78,29 @@ jobs:
             fail-fast: false
             matrix:
                 config:
-                    - { dockerfile: 'Dockerfile-debian',            tag: 'debian-arm64:latest',     platform: 'linux/arm64' }
-                    - { dockerfile: 'Dockerfile-fedora',            tag: 'fedora-arm64:latest',     platform: 'linux/arm64' }
+                    - {dockerfile: 'Dockerfile-debian', tag: 'debian-arm64:latest', platform: 'linux/arm64'}
+                    - {dockerfile: 'Dockerfile-fedora', tag: 'fedora-arm64:latest', platform: 'linux/arm64'}
         steps:
-            -   name: Set up QEMU
-                uses: docker/setup-qemu-action@v3
-                with:
-                    platforms: ${{ matrix.config.platform }}
-            -   name: Check out the repo
-                uses: actions/checkout@v4
-            -   name: Set up Docker Buildx
-                uses: docker/setup-buildx-action@v3
-            -   name: Login to GitHub Container Registry
-                uses: docker/login-action@v3
-                with:
-                    registry: ghcr.io
-                    username: ${{ github.repository_owner }}
-                    password: ${{ secrets.GITHUB_TOKEN }}
-            -   name: Set up env
-                run: echo "repository_owner=${GITHUB_REPOSITORY_OWNER,,}" >>${GITHUB_ENV}
-            -   name: Build and Push Container
-                uses: docker/build-push-action@v6
-                with:
-                    file: test/container/${{ matrix.config.dockerfile }}
-                    tags: ghcr.io/${{env.repository_owner}}/${{ matrix.config.tag }}
-                    push: ${{ github.event_name == 'push' ||  github.event_name == 'schedule' }}
-                    platforms: ${{ matrix.config.platform }}
+            - name: Set up QEMU
+              uses: docker/setup-qemu-action@v3
+              with:
+                  platforms: ${{ matrix.config.platform }}
+            - name: Check out the repo
+              uses: actions/checkout@v4
+            - name: Set up Docker Buildx
+              uses: docker/setup-buildx-action@v3
+            - name: Login to GitHub Container Registry
+              uses: docker/login-action@v3
+              with:
+                  registry: ghcr.io
+                  username: ${{ github.repository_owner }}
+                  password: ${{ secrets.GITHUB_TOKEN }}
+            - name: Set up env
+              run: echo "repository_owner=${GITHUB_REPOSITORY_OWNER,,}" >>${GITHUB_ENV}
+            - name: Build and Push Container
+              uses: docker/build-push-action@v6
+              with:
+                  file: test/container/${{ matrix.config.dockerfile }}
+                  tags: ghcr.io/${{env.repository_owner}}/${{ matrix.config.tag }}
+                  push: ${{ github.event_name == 'push' ||  github.event_name == 'schedule' }}
+                  platforms: ${{ matrix.config.platform }}
index ed46d6c25dc9f6d5be4679bcf77c628440876a9e..195b2c26379c4fdf115067dfb3bcbb43d8d4f3be 100644 (file)
@@ -1,16 +1,16 @@
 ---
 name: Container
 
-on:
+on:  # yamllint disable-line rule:truthy
     schedule:
-        -  cron: '30 11 * * *'   # every day at 11:30 UTC
+        - cron: '30 11 * * *'   # every day at 11:30 UTC
     push:
-        branches: [ main ]
+        branches: [main]
         paths:
             - 'test/container/**'
             - '.github/workflows/container.yml'
     pull_request:
-        branches: [ main ]
+        branches: [main]
         paths:
             - 'test/container/**'
             - '.github/workflows/container.yml'
@@ -33,30 +33,30 @@ jobs:
             fail-fast: false
             matrix:
                 config:
-                    - { dockerfile: 'Dockerfile-debian',   tag: 'debian:latest',   platform: 'linux/amd64' }
-                    - { dockerfile: 'Dockerfile-fedora',   tag: 'fedora:latest',   platform: 'linux/amd64' }
-                    - { dockerfile: 'Dockerfile-opensuse', tag: 'opensuse:latest', platform: 'linux/amd64' }
-                    - { dockerfile: 'Dockerfile-arch',     tag: 'arch:latest',     platform: 'linux/amd64' }
-                    - { dockerfile: 'Dockerfile-debian',   tag: 'ubuntu:latest',   platform: 'linux/amd64' }
-                    - { dockerfile: 'Dockerfile-alpine',   tag: 'alpine:latest',   platform: 'linux/amd64' }
-                    - { dockerfile: 'Dockerfile-void',     tag: 'void:latest',     platform: 'linux/amd64' }
+                    - {dockerfile: 'Dockerfile-debian', tag: 'debian:latest', platform: 'linux/amd64'}
+                    - {dockerfile: 'Dockerfile-fedora', tag: 'fedora:latest', platform: 'linux/amd64'}
+                    - {dockerfile: 'Dockerfile-opensuse', tag: 'opensuse:latest', platform: 'linux/amd64'}
+                    - {dockerfile: 'Dockerfile-arch', tag: 'arch:latest', platform: 'linux/amd64'}
+                    - {dockerfile: 'Dockerfile-debian', tag: 'ubuntu:latest', platform: 'linux/amd64'}
+                    - {dockerfile: 'Dockerfile-alpine', tag: 'alpine:latest', platform: 'linux/amd64'}
+                    - {dockerfile: 'Dockerfile-void', tag: 'void:latest', platform: 'linux/amd64'}
         steps:
-            -   name: Check out the repo
-                uses: actions/checkout@v4
-            -   name: Set up Docker Buildx
-                uses: docker/setup-buildx-action@v3
-            -   name: Login to GitHub Container Registry
-                uses: docker/login-action@v3
-                with:
-                    registry: ghcr.io
-                    username: ${{ github.repository_owner }}
-                    password: ${{ secrets.GITHUB_TOKEN }}
-            -   name: Set up env
-                run: echo "repository_owner=${GITHUB_REPOSITORY_OWNER,,}" >>${GITHUB_ENV}
-            -   name: Build and Push Container
-                uses: docker/build-push-action@v6
-                with:
-                    file: test/container/${{ matrix.config.dockerfile }}
-                    tags: ghcr.io/${{env.repository_owner}}/${{ matrix.config.tag }}
-                    push: ${{ github.event_name == 'push' ||  github.event_name == 'schedule' }}
-                    platforms: ${{ matrix.config.platform }}
+            - name: Check out the repo
+              uses: actions/checkout@v4
+            - name: Set up Docker Buildx
+              uses: docker/setup-buildx-action@v3
+            - name: Login to GitHub Container Registry
+              uses: docker/login-action@v3
+              with:
+                  registry: ghcr.io
+                  username: ${{ github.repository_owner }}
+                  password: ${{ secrets.GITHUB_TOKEN }}
+            - name: Set up env
+              run: echo "repository_owner=${GITHUB_REPOSITORY_OWNER,,}" >>${GITHUB_ENV}
+            - name: Build and Push Container
+              uses: docker/build-push-action@v6
+              with:
+                  file: test/container/${{ matrix.config.dockerfile }}
+                  tags: ghcr.io/${{env.repository_owner}}/${{ matrix.config.tag }}
+                  push: ${{ github.event_name == 'push' ||  github.event_name == 'schedule' }}
+                  platforms: ${{ matrix.config.platform }}
index a56e5e1da6c961a1a3d9c7f299386f4651627431..cf263a0fbbc5f990659a253d3f29b5e1de93faa3 100644 (file)
@@ -1,11 +1,11 @@
 ---
 name: Doc Test
 
-on:
+on:  # yamllint disable-line rule:truthy
     pull_request:
-        branches: [ main ]
+        branches: [main]
         paths:
-          - 'man/**'
+            - 'man/**'
 
     # Allows you to run this workflow manually from the Actions tab
     workflow_dispatch:
@@ -21,20 +21,19 @@ jobs:
         strategy:
             fail-fast: false
             matrix:
-                container: [
-                        "alpine",
-                        "arch",
-                        "debian",
-                        "fedora",
-                        "gentoo",
-                        "opensuse",
-                        "ubuntu",
-                        "void",
-                ]
+                container:
+                    - alpine
+                    - arch
+                    - debian
+                    - fedora
+                    - gentoo
+                    - opensuse
+                    - ubuntu
+                    - void
         container:
             image: ghcr.io/dracut-ng/${{ matrix.container }}
         steps:
-            -   name: "Checkout Repository"
-                uses: actions/checkout@v4
-            -   name: doc on "${{ matrix.container }}"
-                run:  TARGETS=all enable_documentation=yes ./test/test-github.sh
+            - name: "Checkout Repository"
+              uses: actions/checkout@v4
+            - name: doc on "${{ matrix.container }}"
+              run: TARGETS=all enable_documentation=yes ./test/test-github.sh
index 3d16b9bf2d0c343855db402d4cf76b5a10e449e6..7082a1f21118095f9b3f0fde2328ec62160f0f10 100644 (file)
@@ -1,16 +1,16 @@
 ---
 name: Daily Integration Tests
 
-on:
+on:  # yamllint disable-line rule:truthy
     schedule:
-        -  cron: '30 23 * * *'   # every day at 23:30 UTC
+        - cron: '30 23 * * *'   # every day at 23:30 UTC
 
     # Allows you to run this workflow manually from the Actions tab
     workflow_dispatch:
 
     pull_request:
         paths:
-          - '.github/workflows/integration-extra.yml'
+            - '.github/workflows/integration-extra.yml'
 
 jobs:
     basic:
@@ -24,45 +24,43 @@ jobs:
         strategy:
             fail-fast: false
             matrix:
-                container: [
-                        "alpine",
-                        "alpine:edge",
-                        "arch",
-                        "debian",
-                        "debian:sid",
-                        "fedora",
-                        "fedora:rawhide",
-                        "centos:stream10-development",
-                        "gentoo",
-                        "gentoo:amd64-openrc",
-                        "opensuse",
-                        "ubuntu",
-                        "ubuntu:rolling",
-                        "void",
-                ]
-                test: [
-                        "10",
-                        "11",
-                        "12",
-                        "20",
-                        "21",
-                        "22",
-                        "23",
-                        "25",
-                        "26",
-                        "30",
-                        "40",
-                        "41",
-                        "42",
-                        "80",
-                        "81",
-                        "82",
-                ]
+                container:
+                    - alpine
+                    - alpine:edge
+                    - arch
+                    - debian
+                    - debian:sid
+                    - fedora
+                    - fedora:rawhide
+                    - centos:stream10-development
+                    - gentoo
+                    - gentoo:amd64-openrc
+                    - opensuse
+                    - ubuntu
+                    - ubuntu:rolling
+                    - void
+                test:
+                    - "10"
+                    - "11"
+                    - "12"
+                    - "20"
+                    - "21"
+                    - "22"
+                    - "23"
+                    - "25"
+                    - "26"
+                    - "30"
+                    - "40"
+                    - "41"
+                    - "42"
+                    - "80"
+                    - "81"
+                    - "82"
         container:
             image: ghcr.io/dracut-ng/${{ matrix.container }}
             options: '--device=/dev/kvm --privileged'
         steps:
-            -   name: "Checkout Repository"
-                uses: actions/checkout@v4
-            -   name: "${{ matrix.container }} TEST-${{ matrix.test }}"
-                run: ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
+            - name: "Checkout Repository"
+              uses: actions/checkout@v4
+            - name: "${{ matrix.container }} TEST-${{ matrix.test }}"
+              run: ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
index 38df68058ad634d01830517a4b97393ce734890b..7087794211cffe6d06e792dd31e84490111e67f1 100644 (file)
@@ -1,13 +1,13 @@
 ---
 name: Integration Test
 
-on:
+on:  # yamllint disable-line rule:truthy
     pull_request:
-        branches: [ main ]
+        branches: [main]
         paths-ignore:
-          - antora-playbook.yaml
-          - 'doc_site/**'
-          - 'man/**'
+            - antora-playbook.yaml
+            - 'doc_site/**'
+            - 'man/**'
 
     # Allows you to run this workflow manually from the Actions tab
     workflow_dispatch:
@@ -29,27 +29,25 @@ jobs:
         strategy:
             fail-fast: false
             matrix:
-                container: [
-                        "alpine",
-                        "arch",
-                        "debian",
-                        "fedora",
-                        "gentoo",
-                        "opensuse",
-                        "ubuntu",
-                        "void",
-                ]
-                test: [
-                        "10",
-                ]
+                container:
+                    - alpine
+                    - arch
+                    - debian
+                    - fedora
+                    - gentoo
+                    - opensuse
+                    - ubuntu
+                    - void
+                test:
+                    - "10"
         container:
             image: ghcr.io/dracut-ng/${{ matrix.container }}
             options: '--device=/dev/kvm'
         steps:
-            -   name: "Checkout Repository"
-                uses: actions/checkout@v4
-            -   name: "${{ matrix.container }} TEST-${{ matrix.test }}"
-                run:  ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
+            - name: "Checkout Repository"
+              uses: actions/checkout@v4
+            - name: "${{ matrix.container }} TEST-${{ matrix.test }}"
+              run: ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
 
     # syncheck
     syncheck:
@@ -75,35 +73,33 @@ jobs:
         strategy:
             fail-fast: false
             matrix:
-                container: [
-                        "arch",
-                        "fedora",
-                        "gentoo",
-                        "opensuse",
-                        "ubuntu",
-                        "void",
-                ]
-                test: [
-                        "11",
-                        "12",
-                        "20",
-                        "21",
-                        "22",
-                        "23",
-                        "25",
-                        "26",
-                        "30",
-                        "80",
-                        "81",
-                ]
+                container:
+                    - arch
+                    - fedora
+                    - gentoo
+                    - opensuse
+                    - ubuntu
+                    - void
+                test:
+                    - "11"
+                    - "12"
+                    - "20"
+                    - "21"
+                    - "22"
+                    - "23"
+                    - "25"
+                    - "26"
+                    - "30"
+                    - "80"
+                    - "81"
         container:
             image: ghcr.io/dracut-ng/${{ matrix.container }}
             options: '--device=/dev/kvm'
         steps:
-            -   name: "Checkout Repository"
-                uses: actions/checkout@v4
-            -   name: "${{ matrix.container }} TEST-${{ matrix.test }}"
-                run: ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
+            - name: "Checkout Repository"
+              uses: actions/checkout@v4
+            - name: "${{ matrix.container }} TEST-${{ matrix.test }}"
+              run: ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
 
     extended-systemd:
         needs: basic
@@ -116,25 +112,23 @@ jobs:
         strategy:
             fail-fast: false
             matrix:
-                container: [
-                        "arch",
-                        "fedora",
-                        "gentoo",
-                        "ubuntu",
-                ]
-                test: [
-                        "40",
-                        "41",
-                        "42",
-                ]
+                container:
+                    - arch
+                    - fedora
+                    - gentoo
+                    - ubuntu
+                test:
+                    - "40"
+                    - "41"
+                    - "42"
         container:
             image: ghcr.io/dracut-ng/${{ matrix.container }}
             options: '--device=/dev/kvm'
         steps:
-            -   name: "Checkout Repository"
-                uses: actions/checkout@v4
-            -   name: "${{ matrix.container }} TEST-${{ matrix.test }}"
-                run: ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
+            - name: "Checkout Repository"
+              uses: actions/checkout@v4
+            - name: "${{ matrix.container }} TEST-${{ matrix.test }}"
+              run: ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
 
     dracut-cpio:
         needs: basic
@@ -147,20 +141,18 @@ jobs:
         strategy:
             fail-fast: false
             matrix:
-                container: [
-                        "opensuse",
-                ]
-                test: [
-                        "82",
-                ]
+                container:
+                    - opensuse
+                test:
+                    - "82"
         container:
             image: ghcr.io/dracut-ng/${{ matrix.container }}
             options: '--device=/dev/kvm'
         steps:
-            -   name: "Checkout Repository"
-                uses: actions/checkout@v4
-            -   name: "${{ matrix.container }} TEST-${{ matrix.test }}"
-                run: ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
+            - name: "Checkout Repository"
+              uses: actions/checkout@v4
+            - name: "${{ matrix.container }} TEST-${{ matrix.test }}"
+              run: ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
     arm64:
         needs: basic
         name: ${{ matrix.test }} on ${{ matrix.container }} on arm64
@@ -172,22 +164,20 @@ jobs:
         strategy:
             fail-fast: false
             matrix:
-                container: [
-                        "debian-arm64",
-                        "fedora-arm64",
-                ]
-                test: [
-                        "80",
-                ]
+                container:
+                    - debian-arm64
+                    - fedora-arm64
+                test:
+                    - "80"
         steps:
-            -   name: Set up QEMU
-                uses: docker/setup-qemu-action@v3
-                with:
-                    platforms: 'linux/arm64'
-            -   name: "Checkout Repository"
-                uses: actions/checkout@v4
-            -   name: "${{ matrix.container }} TEST-${{ matrix.test }}"
-                run: docker run --platform linux/arm64 '--device=/dev/kvm' -v $PWD:/w ghcr.io/dracut-ng/${{ matrix.container }} /w/test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
+            - name: Set up QEMU
+              uses: docker/setup-qemu-action@v3
+              with:
+                  platforms: 'linux/arm64'
+            - name: "Checkout Repository"
+              uses: actions/checkout@v4
+            - name: "${{ matrix.container }} TEST-${{ matrix.test }}"
+              run: docker run --platform linux/arm64 '--device=/dev/kvm' -v $PWD:/w ghcr.io/dracut-ng/${{ matrix.container }} /w/test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
     network:
         needs: basic
         # all nfs based on default networking
@@ -200,35 +190,33 @@ jobs:
         strategy:
             fail-fast: false
             matrix:
-                container: [
-                        "arch",
-                        "debian",
-                        "fedora",
-                        "gentoo",
-                        "opensuse",
-                        "ubuntu",
-                ]
-                test: [
-                        "60",
-                        "61",
-                        "62",
-                ]
+                container:
+                    - arch
+                    - debian
+                    - fedora
+                    - gentoo
+                    - opensuse
+                    - ubuntu
+                test:
+                    - "60"
+                    - "61"
+                    - "62"
                 include:
-                  - network: ""
-                  - # on debian run tests with systemd-networkd
-                    container: "debian"
-                    network: "systemd-networkd"
-                  - # on openSUSE run tests with network-legacy
-                    container: "opensuse"
-                    network: "network-legacy"
+                    - network: ""
+                    # on debian run tests with systemd-networkd
+                    container: "debian"
+                      network: "systemd-networkd"
+                    # on openSUSE run tests with network-legacy
+                    container: "opensuse"
+                      network: "network-legacy"
         container:
             image: ghcr.io/dracut-ng/${{ matrix.container }}
             options: '--device=/dev/kvm'
         steps:
-            -   name: "Checkout Repository"
-                uses: actions/checkout@v4
-            -   name: "${{ matrix.container }} TEST-${{ matrix.test }}"
-                run: USE_NETWORK=${{ matrix.network }} ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
+            - name: "Checkout Repository"
+              uses: actions/checkout@v4
+            - name: "${{ matrix.container }} TEST-${{ matrix.test }}"
+              run: USE_NETWORK=${{ matrix.network }} ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
 #    network-advanced:
 #        name: ${{ matrix.test }} on ${{ matrix.container }}
 #        runs-on: ubuntu-latest
@@ -239,13 +227,13 @@ jobs:
 #        strategy:
 #            fail-fast: false
 #            matrix:
-#                container: [
-#                        "arch",
-#                        "debian",
-#                        "fedora",
-#                        "gentoo",
-#                        "opensuse",
-#                        "ubuntu",
+#                container:
+#                    - arch
+#                    - debian
+#                    - fedora
+#                    - gentoo
+#                    - opensuse
+#                    - ubuntu
 #                ]
 #                test: [ "70","71","72" ]
 #                include:
@@ -260,7 +248,7 @@ jobs:
 #            image: ghcr.io/dracut-ng/${{ matrix.container }}
 #            options: '--device=/dev/kvm'
 #        steps:
-#            -   name: "Checkout Repository"
-#                uses: actions/checkout@v4
-#            -   name: "${{ matrix.container }} TEST-${{ matrix.test }}"
-#                run: USE_NETWORK=${{ matrix.network }} ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
+#            - name: "Checkout Repository"
+#              uses: actions/checkout@v4
+#            - name: "${{ matrix.container }} TEST-${{ matrix.test }}"
+#              run: USE_NETWORK=${{ matrix.network }} ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
index 1a82e0ac3fbe5c4e1c5e7bb3457d48c5367c914d..af268732778dde55ced291c42afa690715d7b573 100644 (file)
@@ -3,7 +3,7 @@ name: "Labeler"
 
 # runs on pull_request_target instead of pull_request
 # see https://github.com/actions/labeler?tab=readme-ov-file#permissions
-on:
+on:  # yamllint disable-line rule:truthy
     pull_request_target:
 
 jobs:
index 589956409df27d1d88b5b8628db7b672767dea97..2181663ddf9a9c597c255ba02bbbf6e539568050 100644 (file)
@@ -1,9 +1,9 @@
 ---
 name: Lint
 
-on:
+on:  # yamllint disable-line rule:truthy
   pull_request:
-    branches: [ main ]
+    branches: [main]
     paths-ignore:
       - antora-playbook.yaml
       - 'doc_site/**'
@@ -19,9 +19,10 @@ jobs:
       - name: shfmt
         uses: luizm/action-sh-checker@v0.9.0
         env:
-          SHFMT_OPTS: -s # arguments to shfmt.
+          SHFMT_OPTS: -s  # arguments to shfmt.
         with:
-          sh_checker_shellcheck_disable: true # disable shellcheck in favor of differential-shellcheck
+          # disable shellcheck in favor of differential-shellcheck
+          sh_checker_shellcheck_disable: true
 
   differential-shellcheck:
     runs-on: ubuntu-latest
index e17258e94736fbb4110b5aa0bd21a86ec520f328..a1d28bff8f40b56c9ec3d7eac65b3a07e3b0e82b 100644 (file)
@@ -1,7 +1,7 @@
 ---
 name: Manual test
 
-on:
+on:  # yamllint disable-line rule:truthy
     workflow_dispatch:
         inputs:
             test:
@@ -43,19 +43,19 @@ jobs:
             container: ${{ steps.set-matrix.outputs.container }}
             tests: ${{ steps.set-matrix.outputs.tests }}
         steps:
-            -   name: "Checkout Repository"
-                uses: actions/checkout@v4
-                with:
-                    fetch-depth: 0
-            -   id: set-matrix
-                name: "Set Matrix"
-                run: |
-                     [[ "${{ inputs.registry }}" != '' ]] && echo "registry=\"${{ inputs.registry }}\"" >> $GITHUB_OUTPUT \
-                     || ( echo "registry=\"ghcr.io/${{ github.repository_owner }}\"" >> $GITHUB_OUTPUT )
-                     [[ "${{ inputs.container }}" != 'all' ]] && echo "container=[\"${{ inputs.container }}\"]" >> $GITHUB_OUTPUT \
-                     || ( containers=$(find test/container -name "Dockerfile-*" | cut -d\- -f2 | tr '[:upper:]' '[:lower:]' | sed -z 's/\n/","/g'); echo "container=[\"${containers%??}]" >> $GITHUB_OUTPUT )
-                     [[ "${{ toJson(fromJson(inputs.test)) }}" != '[]' ]] && echo "tests=${{ inputs.test }}" >> $GITHUB_OUTPUT \
-                     || ( tests=$(find test -type d -a -name "TEST-*" | cut -d\- -f2 | sed -z 's/\n/","/g' ); echo "tests=[\"${tests%??}]" >> $GITHUB_OUTPUT )
+            - name: "Checkout Repository"
+              uses: actions/checkout@v4
+              with:
+                  fetch-depth: 0
+            - id: set-matrix
+              name: "Set Matrix"
+              run: |
+                   [[ "${{ inputs.registry }}" != '' ]] && echo "registry=\"${{ inputs.registry }}\"" >> $GITHUB_OUTPUT \
+                   || ( echo "registry=\"ghcr.io/${{ github.repository_owner }}\"" >> $GITHUB_OUTPUT )
+                   [[ "${{ inputs.container }}" != 'all' ]] && echo "container=[\"${{ inputs.container }}\"]" >> $GITHUB_OUTPUT \
+                   || ( containers=$(find test/container -name "Dockerfile-*" | cut -d\- -f2 | tr '[:upper:]' '[:lower:]' | sed -z 's/\n/","/g'); echo "container=[\"${containers%??}]" >> $GITHUB_OUTPUT )
+                   [[ "${{ toJson(fromJson(inputs.test)) }}" != '[]' ]] && echo "tests=${{ inputs.test }}" >> $GITHUB_OUTPUT \
+                   || ( tests=$(find test -type d -a -name "TEST-*" | cut -d\- -f2 | sed -z 's/\n/","/g' ); echo "tests=[\"${tests%??}]" >> $GITHUB_OUTPUT )
     test:
         needs: matrix
         runs-on: ubuntu-latest
@@ -72,9 +72,9 @@ jobs:
             image: ${{ fromJSON(needs.matrix.outputs.registry) }}/${{ matrix.container }}
             options: "--privileged -v /dev:/dev"
         steps:
-            -   name: "Checkout Repository"
-                uses: actions/checkout@v4
-                with:
-                    fetch-depth: 0
-            -   name: "${{ matrix.container }} ${{ matrix.test }}"
-                run: ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
+            - name: "Checkout Repository"
+              uses: actions/checkout@v4
+              with:
+                  fetch-depth: 0
+            - name: "${{ matrix.container }} ${{ matrix.test }}"
+              run: ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
index b024cd36a11ea7f22aea160c299f8a338e0ba4f2..8e7e861de21f35385aa890a23408bab0ebf1242d 100644 (file)
@@ -1,6 +1,6 @@
 ---
 name: Commisery
-on:
+on:  # yamllint disable-line rule:truthy
   pull_request:
     types: [edited, opened, synchronize, reopened]
 
@@ -9,13 +9,13 @@ jobs:
     name: Conventional Commit Message Checker (Commisery)
     runs-on: ubuntu-latest
     steps:
-    - name: Check-out the repo under $GITHUB_WORKSPACE
-      uses: actions/checkout@v4
+      - name: Check-out the repo under $GITHUB_WORKSPACE
+        uses: actions/checkout@v4
 
-    - name: Run Commisery
-      uses: tomtom-international/commisery-action@master
-      with:
-        token: ${{ secrets.GITHUB_TOKEN }}
-        # don't validate the pull request title
-        validate-pull-request: false
-        validate-pull-request-title-bump: false
+      - name: Run Commisery
+        uses: tomtom-international/commisery-action@master
+        with:
+          token: ${{ secrets.GITHUB_TOKEN }}
+          # don't validate the pull request title
+          validate-pull-request: false
+          validate-pull-request-title-bump: false
index 4358d10a8431af074518938f437aaecb9f6ff08e..ddd64c0e43dd989638678360874425e766c43ed4 100644 (file)
@@ -1,7 +1,7 @@
 ---
 name: Publish to GitHub Pages
 
-on:
+on:  # yamllint disable-line rule:truthy
   push:
     branches: [main]
     paths-ignore:
@@ -29,28 +29,28 @@ jobs:
       name: github-pages
       url: ${{ steps.deployment.outputs.page_url }}
     steps:
-    - name: Checkout repository
-      uses: actions/checkout@v4
-      with:
-        fetch-depth: 0
-    - name: Configure Pages
-      uses: actions/configure-pages@v5
-    - name: Install Node.js
-      uses: actions/setup-node@v4
-      with:
-        node-version: '18'
-    - name: Install dependencies
-      run: |
-        sudo apt-get -y update
-        sudo apt-get -y install make asciidoc
-    - name: Install Antora
-      run: npm i antora
-    - name: Generate Site
-      run: make doc_site
-    - name: Upload Artifacts
-      uses: actions/upload-pages-artifact@v3
-      with:
-        path: build/site
-    - name: Deploy to GitHub Pages
-      id: deployment
-      uses: actions/deploy-pages@v4
+      - name: Checkout repository
+        uses: actions/checkout@v4
+        with:
+          fetch-depth: 0
+      - name: Configure Pages
+        uses: actions/configure-pages@v5
+      - name: Install Node.js
+        uses: actions/setup-node@v4
+        with:
+          node-version: '18'
+      - name: Install dependencies
+        run: |
+          sudo apt-get -y update
+          sudo apt-get -y install make asciidoc
+      - name: Install Antora
+        run: npm i antora
+      - name: Generate Site
+        run: make doc_site
+      - name: Upload Artifacts
+        uses: actions/upload-pages-artifact@v3
+        with:
+          path: build/site
+      - name: Deploy to GitHub Pages
+        id: deployment
+        uses: actions/deploy-pages@v4
index a16cf37cfe1cc73d93f52d1d9292762ee63e766e..1e17a4657e581c935700e0c4a162441a0e2204e1 100644 (file)
@@ -1,7 +1,7 @@
 ---
 name: Release
 
-on:
+on:  # yamllint disable-line rule:truthy
   schedule:
     ## Schedule the job to run on Apr-1, Aug-1, Dec-1
     - cron: '0 0 1 APR,AUG,DEC *'