Skip to content

Commit

Permalink
fix: actionlint errors on non-existing context in some events (#577)
Browse files Browse the repository at this point in the history
* fix: default to github.sha when inputs is not defined

* refactor: pin actionlint download to v1.6.15

* fix: ignore actionlint rule

* revert: refactor: pin actionlint download to v1.6.15

* feat: pin actionlint version
  • Loading branch information
guidojw authored Jul 18, 2022
1 parent 0d63b1e commit 976c8ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Download actionlint
run: |
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) 1.6.15
- name: Set up Node.js
uses: actions/setup-node@17f8bd926464a1afa4c6a11669539e9c1ba77048 # tag=v3.2.0
Expand All @@ -63,7 +63,8 @@ jobs:
# Convert output of stylelint so that the problem matcher can match it correctly.
run: |
EXIT_STATUS=0
./actionlint -ignore 'property "app_private_key" is not defined' -ignore 'SC2153:' || EXIT_STATUS=$?
./actionlint -ignore 'property "app_private_key" is not defined' -ignore 'SC2153:' \
-ignore 'property "sha" is not defined in object type {}' || EXIT_STATUS=$?
docker run app yarn lint:hbs || EXIT_STATUS=$?
docker run app yarn lint:js || EXIT_STATUS=$?
STYLELINT_OUTPUT="$(docker run app yarn lint:scss)" || EXIT_STATUS=$?
Expand Down

0 comments on commit 976c8ec

Please sign in to comment.