Skip to content

Commit 44749bd

Browse files
committed
pre-commit run -a successfully
1 parent 1913ddb commit 44749bd

39 files changed

+3862
-3861
lines changed

.editorconfig

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
# EditorConfig is awesome: http://EditorConfig.org
2-
# Uses editorconfig to maintain consistent coding styles
3-
4-
# top-most EditorConfig file
5-
root = true
6-
7-
# Unix-style newlines with a newline ending every file
8-
[*]
9-
charset = utf-8
10-
end_of_line = lf
11-
indent_size = 2
12-
indent_style = space
13-
insert_final_newline = true
14-
max_line_length = 80
15-
trim_trailing_whitespace = true
16-
17-
[*.py]
18-
indent_size = 4
19-
20-
[*.{tf,tfvars}]
21-
indent_size = 2
22-
indent_style = space
23-
24-
[*.md]
25-
max_line_length = 0
26-
trim_trailing_whitespace = false
27-
28-
[Makefile]
29-
tab_width = 2
30-
indent_style = tab
31-
32-
[COMMIT_EDITMSG]
33-
max_line_length = 0
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
# Uses editorconfig to maintain consistent coding styles
3+
4+
# top-most EditorConfig file
5+
root = true
6+
7+
# Unix-style newlines with a newline ending every file
8+
[*]
9+
charset = utf-8
10+
end_of_line = lf
11+
indent_size = 2
12+
indent_style = space
13+
insert_final_newline = true
14+
max_line_length = 80
15+
trim_trailing_whitespace = true
16+
17+
[*.py]
18+
indent_size = 4
19+
20+
[*.{tf,tfvars}]
21+
indent_size = 2
22+
indent_style = space
23+
24+
[*.md]
25+
max_line_length = 0
26+
trim_trailing_whitespace = false
27+
28+
[Makefile]
29+
tab_width = 2
30+
indent_style = tab
31+
32+
[COMMIT_EDITMSG]
33+
max_line_length = 0

.github/workflows/lock.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
name: 'Lock Threads'
2-
3-
on:
4-
schedule:
5-
- cron: '50 1 * * *'
6-
7-
jobs:
8-
lock:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: dessant/lock-threads@v5
12-
with:
13-
github-token: ${{ secrets.GITHUB_TOKEN }}
14-
issue-comment: >
15-
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
16-
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
17-
issue-inactive-days: '30'
18-
pr-comment: >
19-
I'm going to lock this pull request because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
20-
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
21-
pr-inactive-days: '30'
1+
name: 'Lock Threads'
2+
3+
on:
4+
schedule:
5+
- cron: '50 1 * * *'
6+
7+
jobs:
8+
lock:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: dessant/lock-threads@v5
12+
with:
13+
github-token: ${{ secrets.GITHUB_TOKEN }}
14+
issue-comment: >
15+
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
16+
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
17+
issue-inactive-days: '30'
18+
pr-comment: >
19+
I'm going to lock this pull request because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
20+
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
21+
pr-inactive-days: '30'

.github/workflows/pr-title.yml

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
1-
name: 'Validate PR title'
2-
3-
on:
4-
pull_request_target:
5-
types:
6-
- opened
7-
- edited
8-
- synchronize
9-
10-
jobs:
11-
main:
12-
name: Validate PR title
13-
runs-on: ubuntu-latest
14-
steps:
15-
# Please look up the latest version from
16-
# https://github.com/amannn/action-semantic-pull-request/releases
17-
- uses: amannn/[email protected]
18-
env:
19-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20-
with:
21-
# Configure which types are allowed.
22-
# Default: https://github.com/commitizen/conventional-commit-types
23-
types: |
24-
fix
25-
feat
26-
docs
27-
ci
28-
chore
29-
# Configure that a scope must always be provided.
30-
requireScope: false
31-
# Configure additional validation for the subject based on a regex.
32-
# This example ensures the subject starts with an uppercase character.
33-
subjectPattern: ^[A-Z].+$
34-
# If `subjectPattern` is configured, you can use this property to override
35-
# the default error message that is shown when the pattern doesn't match.
36-
# The variables `subject` and `title` can be used within the message.
37-
subjectPatternError: |
38-
The subject "{subject}" found in the pull request title "{title}"
39-
didn't match the configured pattern. Please ensure that the subject
40-
starts with an uppercase character.
41-
# For work-in-progress PRs you can typically use draft pull requests
42-
# from Github. However, private repositories on the free plan don't have
43-
# this option and therefore this action allows you to opt-in to using the
44-
# special "[WIP]" prefix to indicate this state. This will avoid the
45-
# validation of the PR title and the pull request checks remain pending.
46-
# Note that a second check will be reported if this is enabled.
47-
wip: true
48-
# When using "Squash and merge" on a PR with only one commit, GitHub
49-
# will suggest using that commit message instead of the PR title for the
50-
# merge commit, and it's easy to commit this by mistake. Enable this option
51-
# to also validate the commit message for one commit PRs.
52-
validateSingleCommit: false
1+
name: 'Validate PR title'
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
10+
jobs:
11+
main:
12+
name: Validate PR title
13+
runs-on: ubuntu-latest
14+
steps:
15+
# Please look up the latest version from
16+
# https://github.com/amannn/action-semantic-pull-request/releases
17+
- uses: amannn/[email protected]
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
with:
21+
# Configure which types are allowed.
22+
# Default: https://github.com/commitizen/conventional-commit-types
23+
types: |
24+
fix
25+
feat
26+
docs
27+
ci
28+
chore
29+
# Configure that a scope must always be provided.
30+
requireScope: false
31+
# Configure additional validation for the subject based on a regex.
32+
# This example ensures the subject starts with an uppercase character.
33+
subjectPattern: ^[A-Z].+$
34+
# If `subjectPattern` is configured, you can use this property to override
35+
# the default error message that is shown when the pattern doesn't match.
36+
# The variables `subject` and `title` can be used within the message.
37+
subjectPatternError: |
38+
The subject "{subject}" found in the pull request title "{title}"
39+
didn't match the configured pattern. Please ensure that the subject
40+
starts with an uppercase character.
41+
# For work-in-progress PRs you can typically use draft pull requests
42+
# from Github. However, private repositories on the free plan don't have
43+
# this option and therefore this action allows you to opt-in to using the
44+
# special "[WIP]" prefix to indicate this state. This will avoid the
45+
# validation of the PR title and the pull request checks remain pending.
46+
# Note that a second check will be reported if this is enabled.
47+
wip: true
48+
# When using "Squash and merge" on a PR with only one commit, GitHub
49+
# will suggest using that commit message instead of the PR title for the
50+
# merge commit, and it's easy to commit this by mistake. Enable this option
51+
# to also validate the commit message for one commit PRs.
52+
validateSingleCommit: false

0 commit comments

Comments
 (0)