-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check the YAML code in the repo with a linter
This check will comment right in the pull request on the lines which have style violations. Resolve a few found style violations. Configure yamllint to skip the 'truthy' check because otherwise it shows an error on completely fine line 4 in .github/workflows/yaml-lint.yml
- Loading branch information
1 parent
d9a3c26
commit 4a52957
Showing
3 changed files
with
27 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
name: YAML lint | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
tags-ignore: | ||
- '**' | ||
jobs: | ||
yamllint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: YAML Lint and Annotate | ||
uses: Staffbase/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
target-path: setup-venv |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
rules: | ||
truthy: disable | ||
new-lines: | ||
type: unix |
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,3 +1,4 @@ | ||
--- | ||
name: 'Clean workspace' | ||
description: 'Clean workspace directory after previous workflow run' | ||
runs: | ||
|