generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #130 from dave-tucker/yamllint
Lint all YAML and Fix actions.yml
- Loading branch information
Showing
11 changed files
with
199 additions
and
131 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,5 +1,5 @@ | ||
name: "javascript-action CodeQL config" | ||
name: javascript-action CodeQL config | ||
|
||
paths-ignore: | ||
paths-ignore: | ||
- node_modules | ||
- dist |
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
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
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,8 +1,8 @@ | ||
name: Scheduled build | ||
on: | ||
on: # yamllint disable-line rule:truthy | ||
schedule: | ||
- cron: "30 8 * * *" | ||
- cron: 30 8 * * * | ||
|
||
jobs: | ||
test: | ||
uses: ./.github/workflows/test.yml | ||
uses: ./.github/workflows/test.yml |
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,10 +1,12 @@ | ||
name: Pull request | ||
|
||
on: | ||
on: # yamllint disable-line rule:truthy | ||
pull_request: | ||
banches: | ||
- main | ||
|
||
jobs: | ||
yamllint: | ||
uses: ./.github/workflows/yamllint.yml | ||
test: | ||
uses: ./.github/workflows/test.yml |
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,5 +1,5 @@ | ||
name: Push | ||
on: | ||
on: # yamllint disable-line rule:truthy | ||
push: | ||
branches: | ||
- main | ||
|
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
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
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,12 @@ | ||
name: yamllint | ||
|
||
on: # yamllint disable-line rule:truthy | ||
workflow_call: | ||
|
||
jobs: | ||
yamllint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: yamllint | ||
run: yamllint -c .yamllint.yaml --strict . |
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,16 @@ | ||
--- | ||
extends: default | ||
rules: | ||
line-length: disable | ||
document-start: disable | ||
comments: | ||
min-spaces-from-content: 1 | ||
quoted-strings: | ||
required: only-when-needed | ||
extra-required: | ||
- ^.*:\s.*$ | ||
- ^.*:$ | ||
quote-type: double | ||
ignore: | ||
- _output/* | ||
- vendor/* |
Oops, something went wrong.