-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into msg-whatif-test
- Loading branch information
Showing
24 changed files
with
705 additions
and
129 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,51 @@ | ||
--- | ||
name: Code Review | ||
name: Code Review - Linting & Link Checks | ||
|
||
########################################## | ||
# Start the job on push for all branches # | ||
########################################## | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- main | ||
workflow_dispatch: {} | ||
|
||
############### | ||
# Set the Job # | ||
############### | ||
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: | ||
# Lint all code | ||
VALIDATE_ALL_CODEBASE: true | ||
# 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 | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Run github/super-linter | ||
uses: github/super-linter@v4 | ||
env: | ||
# Lint all code - disabled in as part of #262 | ||
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 | ||
|
||
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/github-action-markdown-link-check@1.0.13 | ||
with: | ||
config-file: '.github/actions-config/mlc_config.json' | ||
use-verbose-mode: 'yes' | ||
use-quiet-mode: 'yes' | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@master | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Check links in markdown files | ||
uses: gaurav-nelson/github-action-markdown-link-check@1.0.13 | ||
with: | ||
config-file: ".github/actions-config/mlc_config.json" | ||
use-verbose-mode: "yes" | ||
use-quiet-mode: "yes" |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.