Skip to content

Commit

Permalink
Add singapore to deploy matrix (#23)
Browse files Browse the repository at this point in the history
* add singapore to matrix

* Use actionlint instead of download it

* fix lint
  • Loading branch information
adolsalamanca committed Sep 14, 2023
1 parent 21bd34e commit 56d0545
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

3 changes: 3 additions & 0 deletions actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
self-hosted-runner:
labels:
- non-prod

0 comments on commit 56d0545

Please sign in to comment.