This repository was archived by the owner on Aug 26, 2025. It is now read-only.
Update README.md #897
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
| ########################### | |
| ########################### | |
| ## Linter GitHub Actions ## | |
| ########################### | |
| ########################### | |
| name: Lint Code Base | |
| # | |
| # Documentation: | |
| # https://help.github.com/en/articles/workflow-syntax-for-github-actions | |
| # | |
| ############################# | |
| # Start the job on all push # | |
| ############################# | |
| on: | |
| push: | |
| branches: | |
| - developer | |
| pull_request: | |
| branches: | |
| - developer | |
| ############### | |
| # Set the Job # | |
| ############### | |
| jobs: | |
| build: | |
| # Name the Job | |
| name: Lint Code Base | |
| # Set the agent to run on | |
| runs-on: ubuntu-latest | |
| ################## | |
| # Load all steps # | |
| ################## | |
| steps: | |
| ########################## | |
| # Checkout the code base # | |
| ########################## | |
| - name: Checkout Code | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| ################################ | |
| # Run Linter against code base # | |
| ################################ | |
| - name: Lint Code Base | |
| uses: docker://github/super-linter:v4.10.1 | |
| env: | |
| DEFAULT_BRANCH: developer | |
| VALIDATE_ALL_CODEBASE: false | |
| VALIDATE_PHP: true | |
| VALIDATE_JSON: true | |
| VALIDATE_YAML: true | |
| VALIDATE_XML: true | |
| VALIDATE_BASH: true | |
| VALIDATE_DOCKER: true | |
| VALIDATE_CSS: true | |
| VALIDATE_OPENAPI: true | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |