This repository has been archived by the owner on May 7, 2024. It is now read-only.
Added AFD-5 and AFD-6 #1304
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: Code Review - Linting & Link Checks | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: {} | |
jobs: | |
lint: | |
name: Lint code base | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Run github/super-linter | |
uses: github/super-linter@v4 | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
# Need to define main branch as default is set to master in super-linter | |
DEFAULT_BRANCH: main | |
# Enable setting the status of each individual linter run in the Checks section of a pull request | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# The following linter types will be enabled: | |
VALIDATE_JSON: true | |
VALIDATE_MARKDOWN: true | |
VALIDATE_POWERSHELL: true | |
VALIDATE_YAML: true | |
VALIDATE_BASH: true | |
VALIDATE_EDITORCONFIG: true | |
FILTER_REGEX_EXCLUDE: ".*docs/themes/ace-documentation/.*" | |
markdown-link-check: | |
name: Markdown Link Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@master | |
with: | |
fetch-depth: 0 | |
- name: Check links in markdown files | |
uses: gaurav-nelson/[email protected] | |
with: | |
config-file: ".github/actions-config/mlc_config.json" | |
use-verbose-mode: "yes" | |
use-quiet-mode: "yes" |