fix: add if for empty matrix on "file change actions" #600
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: actionlint | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: ["main"] | |
paths: | |
- ".github/workflows/**" | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
actionlint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 3 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install actionlint | |
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) | |
- name: Run actionlint | |
run: ./actionlint -color -oneline |