util: refactor splitter pt. 2 (auto-updater) #24
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: Workflow Lint | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '*.yml' | |
- '.github/workflows/*.yml' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '*.yml' | |
- '.github/workflows/*.yml' | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install yamllint | |
run: | | |
pip install yamllint | |
- name: Run yamllint | |
run: | | |
yamllint -c .yamllint.yml -f github .github/workflows | |
- name: Run workflow lint script | |
run: | | |
node .github/scripts/lint-workflow.cjs | |
env: | |
GH_TOKEN: ${{ secrets.BOT_TOKEN }} | |
- name: Run actionlint | |
uses: docker://rhysd/actionlint:latest | |
env: | |
SHELLCHECK_OPTS: --exclude=SC2086 | |
with: | |
args: -color |