Update autorelease-rubygem.yml #60
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint GitHub Actions | |
on: | |
push: | |
paths: ['.github/workflows/**', '.github/actions/**', '.github/actionlint.yml'] | |
jobs: | |
actionlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- id: install | |
env: | |
VERSION: '1.7.0' | |
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/b6b7a2901eb4fa4bae2e6d8f9b6edd1a37b3cca7/scripts/download-actionlint.bash) "$VERSION" . | |
- name: Run actionlint | |
env: | |
ACTIONLINT: '${{ steps.install.outputs.executable }}' | |
run: | | |
echo "::add-matcher::.github/actionlint-matcher.json" | |
# TODO: move -ignores inline or to actionlint.yml once | |
# https://www.github.com/rhysd/actionlint/issues/237 and/or | |
# https://www.github.com/rhysd/actionlint/issues/217 is fixed. | |
# TODO: remove -ignore "property .runner. is not defined" once | |
# https://www.github.com/rhysd/actionlint/issues/77 is fixed. | |
"$ACTIONLINT" -color \ | |
-ignore "property .runner. is not defined" \ | |
-ignore "property .repository_visibility. is not defined" |