-
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.
[#143] Added linting of the GitHub actions.
- Loading branch information
1 parent
0b61efd
commit 1d03ed5
Showing
6 changed files
with
61 additions
and
7 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,17 @@ | ||
# Yamllint configuration file used to check GitHub Actions configuration files. | ||
extends: default | ||
|
||
rules: | ||
comments: | ||
min-spaces-from-content: 1 | ||
document-start: | ||
present: false | ||
empty-lines: | ||
max: 1 | ||
max-start: 0 | ||
max-end: 0 | ||
line-length: | ||
max: 255 | ||
truthy: | ||
allowed-values: ['true', 'false'] | ||
check-keys: false |
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,26 @@ | ||
name: Test Actions | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
- 'feature/**' | ||
|
||
jobs: | ||
test-actions: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check coding standards with yamllint | ||
run: yamllint --config-file .github/.yamllint-for-gha.yml .github/workflows | ||
continue-on-error: ${{ vars.CI_LINT_IGNORE_FAILURE == '1' }} | ||
|
||
- name: Check coding standards with actionlint | ||
run: docker run --rm -v "${GITHUB_WORKSPACE:-.}":/app --workdir /app rhysd/actionlint:1.6.27 | ||
continue-on-error: ${{ vars.CI_LINT_IGNORE_FAILURE == '1' }} |
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
1d03ed5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://scaffold-docs.netlify.app as production
🚀 Deployed on https://66246516ba35a746fe2e44db--scaffold-docs.netlify.app