-
Notifications
You must be signed in to change notification settings - Fork 893
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lint YAML files (mainly semantic conventions). (#1814)
Co-authored-by: Armin Ruech <[email protected]>
- Loading branch information
Showing
13 changed files
with
756 additions
and
716 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,14 +1,14 @@ | ||
name: 'Auto Assign' | ||
on: | ||
on: | ||
pull_request_target: | ||
types: [opened, ready_for_review] | ||
|
||
jobs: | ||
add-owner: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: run | ||
uses: kentaro-m/[email protected] | ||
with: | ||
configuration-path: ".github/auto_assign.yml" | ||
repo-token: '${{ secrets.GITHUB_TOKEN }}' | ||
- name: run | ||
uses: kentaro-m/[email protected] | ||
with: | ||
configuration-path: ".github/auto_assign.yml" | ||
repo-token: '${{ secrets.GITHUB_TOKEN }}' |
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,17 +1,17 @@ | ||
name: "Close stale pull requests" | ||
on: | ||
schedule: | ||
- cron: "12 3 * * *" # arbitrary time not to DDOS GitHub | ||
- cron: "12 3 * * *" # arbitrary time not to DDOS GitHub | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-pr-message: 'This PR was marked stale due to lack of activity. It will be closed in 7 days.' | ||
close-pr-message: 'Closed as inactive. Feel free to reopen if this PR is still being worked on.' | ||
exempt-pr-labels: 'release:after-ga' | ||
days-before-stale: 7 | ||
days-before-close: 7 | ||
- uses: actions/stale@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-pr-message: 'This PR was marked stale due to lack of activity. It will be closed in 7 days.' | ||
close-pr-message: 'Closed as inactive. Feel free to reopen if this PR is still being worked on.' | ||
exempt-pr-labels: 'release:after-ga' | ||
days-before-stale: 7 | ||
days-before-close: 7 |
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 |
---|---|---|
|
@@ -20,4 +20,3 @@ MD033: false | |
|
||
# fenced-code-language | ||
MD040: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
extends: default | ||
|
||
rules: | ||
document-start: disable | ||
octal-values: enable | ||
truthy: | ||
allowed-values: ['true', 'false', 'on'] # 'on' for GH action trigger | ||
line-length: | ||
max: 200 | ||
indentation: | ||
check-multi-line-strings: false | ||
indent-sequences: consistent | ||
brackets: | ||
max-spaces-inside: 1 | ||
max-spaces-inside-empty: 0 |
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 |
---|---|---|
|
@@ -31,4 +31,3 @@ groups: | |
brief: > | ||
Container image tag. | ||
examples: ['0.1'] | ||
|
Oops, something went wrong.