Fixes & Enhancements for Client Demo #51
This file contains hidden or 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: Super Linter! | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
lint-and-fix: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
checks: write | |
statuses: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run Super-Linter with Auto-Fix | |
uses: super-linter/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VALIDATE_ALL_CODEBASE: true | |
MULTI_STATUS: true | |
VALIDATE_CLANG_FORMAT: true | |
VALIDATE_GITHUB_ACTIONS: true | |
VALIDATE_YAML: true | |
FIX_CLANG_FORMAT: true | |
# I need to talk to the team about linting YAML and Markdown Prettier. | |
# This will let us check and auto-fix styling issues in our | |
# documentation and workflows. | |
# VALIDATE_YAML_PRETTIER | |
# FIX_YAML_PRETTIER | |
# VALIDATE_MARKDOWN_PRETTIER | |
# FIX_MARKDOWN_PRETTIER | |
- name: Auto Commit Fixed Files | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Auto-fix linting issues | |
commit_user_name: Super Linter! | |
commit_user_email: [email protected] | |
commit_author: SuperLinter <[email protected]> | |