From 56d0545e09b98c79b3a46b55f0740a53f92ba150 Mon Sep 17 00:00:00 2001 From: Adol Rodriguez Date: Thu, 14 Sep 2023 13:17:59 +0200 Subject: [PATCH] Add singapore to deploy matrix (#23) * add singapore to matrix * Use actionlint instead of download it * fix lint --- .github/workflows/linter.yaml | 16 ++++++---------- actionlint.yaml | 3 +++ 2 files changed, 9 insertions(+), 10 deletions(-) create mode 100644 actionlint.yaml diff --git a/.github/workflows/linter.yaml b/.github/workflows/linter.yaml index 8d58921..f169f98 100644 --- a/.github/workflows/linter.yaml +++ b/.github/workflows/linter.yaml @@ -17,14 +17,10 @@ jobs: id: files uses: jitterbit/get-changed-files@v1 continue-on-error: true - - - name: Download action linter - run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) - - - name: Run action linter - run: | - ./actionlint -oneline -ignore 'label ".+" is unknown' \ - -ignore '".+" is potentially untrusted' \ - -ignore '".+" SC2086 ".+"' \ - ${{ steps.files.outputs.all }} \ + + - uses: reviewdog/action-actionlint@v1 + with: + actionlint_flags: --ignore SC2086 --config-file .github/actionlint.yaml + fail_on_error: true + level: error diff --git a/actionlint.yaml b/actionlint.yaml new file mode 100644 index 0000000..7aec0fb --- /dev/null +++ b/actionlint.yaml @@ -0,0 +1,3 @@ +self-hosted-runner: + labels: + - non-prod