From fd492e52e330089d34df03d411ec38010c274244 Mon Sep 17 00:00:00 2001
From: Kevin Stillhammer <kevin.stillhammer@gmail.com>
Date: Tue, 18 Mar 2025 19:47:41 +0100
Subject: [PATCH] Fix actionlint issues

---
 .github/actionlint.yaml    | 9 +++++++++
 .github/workflows/test.yml | 1 +
 2 files changed, 10 insertions(+)
 create mode 100644 .github/actionlint.yaml

diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml
new file mode 100644
index 0000000..2830cfa
--- /dev/null
+++ b/.github/actionlint.yaml
@@ -0,0 +1,9 @@
+self-hosted-runner:
+  # Custom labels of self-hosted or large GitHub hosted runners
+  # so that actionlint knows that they are not a typo
+  labels:
+    - selfhosted-ubuntu-arm64
+# Configuration variables in array of strings defined in your repository or
+# organization. `null` means disabling configuration variables check.
+# Empty array means no configuration variable is allowed.
+config-variables: null
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 8eda4dc..60c54d7 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -493,4 +493,5 @@ jobs:
       - name: All tests passed
         run: |
           echo "All jobs passed: ${{ !contains(needs.*.result, 'failure') }}"
+          # shellcheck disable=SC2242
           exit ${{ contains(needs.*.result, 'failure') && 1 || 0 }}