File tree Expand file tree Collapse file tree 5 files changed +29
-12
lines changed Expand file tree Collapse file tree 5 files changed +29
-12
lines changed Original file line number Diff line number Diff line change 1
- # Users referenced in this file will automatically be requested as reviewers for
2
- # PRs that modify the given paths
3
- # See https://help.github.com/articles/about-code-owners/, https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
1
+ # GitHub CODEOWNERS file
2
+ # Documentation:
3
+ # - https://help.github.com/articles/about-code-owners/
4
+ # - https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
4
5
5
- # All code
6
+ # Syntax:
7
+ # pattern @user-or-team
8
+ # The last matching pattern takes precedence.
9
+
10
+ # ##############################
11
+ # Repository Default Owners
12
+ # ##############################
13
+ # These owners will be the default owners for everything in the repo
6
14
* @ ruzickap
Original file line number Diff line number Diff line change 25
25
enabled : true ,
26
26
schedule : [ "before 6am on Sunday" ] ,
27
27
} ,
28
+ // Package update rules
28
29
packageRules : [
29
30
{
31
+ description : "Disable auto-merge for major updates" ,
30
32
matchUpdateTypes : [ "major" ] ,
31
33
automerge : false ,
32
34
} ,
45
47
] ,
46
48
prBodyTemplate : "{{{table}}}{{{notes}}}{{{changelogs}}}" ,
47
49
rebaseWhen : "behind-base-branch" ,
50
+ // Custom version extraction
48
51
regexManagers : [
49
52
{
50
53
extractVersionTemplate : "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?<version>.+)${{/if}}" ,
Original file line number Diff line number Diff line change @@ -30,13 +30,11 @@ jobs:
30
30
- name : Extract commands from markdown files
31
31
run : |
32
32
set -euxo pipefail
33
+ eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
34
+ brew install mdq
33
35
echo '#!/usr/bin/env bash' > README.sh
34
- find . -name '*.md' -print0 | while IFS= read -r -d '' FILE; do
35
- # Extract: ```bash ... ```
36
- sed -n "/^\`\`\`\(bash\|shell\)$/,/^\`\`\`$/p" "${FILE}" | sed '/^```*/d' >> README.sh
37
- # Extract: ```bash ... ```
38
- sed -n "/^ \`\`\`\(bash\|shell\)$/,/^ \`\`\`$/p" "${FILE}" | sed '/^ ```*/d; s/^ //' >> README.sh
39
- done
36
+ readarray -d '' MD_FILES < <(find . -type f -name "*.md" -print0)
37
+ mdq '```/^bash$|^shell$|^sh$/' --br -o plain "${MD_FILES[@]}" >> README.sh || true
40
38
chmod a+x README.sh
41
39
42
40
- name : 💡 MegaLinter
Original file line number Diff line number Diff line change 68
68
private-key : ${{ secrets.MY_RENOVATE_GITHUB_PRIVATE_KEY }}
69
69
70
70
- name : 💡 Self-hosted Renovate
71
- uses : renovatebot/github-action@02f4fdeb479bbb229caa7ad82cb5e691c07e80b3 # v41 .0.14
71
+ uses : renovatebot/github-action@19ba43e1bc58ed95c0ba205dee8b1bc0f27b630d # v42 .0.0
72
72
with :
73
73
token : ${{ steps.app-token.outputs.token }}
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ BASH_SHFMT_ARGUMENTS: --case-indent --indent 2 --space-redirects
8
8
9
9
DISABLE_LINTERS :
10
10
- MARKDOWN_MARKDOWN_LINK_CHECK # Using lychee instead
11
- - REPOSITORY_DEVSKIM # Ignore duplicate code
12
11
- SPELL_CSPELL
13
12
- TERRAFORM_TERRASCAN # Hard to configure - no documentation of the config file
14
13
@@ -21,6 +20,8 @@ FILTER_REGEX_EXCLUDE: CHANGELOG.md
21
20
22
21
FORMATTERS_DISABLE_ERRORS : false
23
22
23
+ JSON_JSONLINT_ARGUMENTS : --comments
24
+
24
25
JSON_JSONLINT_FILTER_REGEX_EXCLUDE : .devcontainer/devcontainer.json
25
26
26
27
MARKDOWN_MARKDOWNLINT_CONFIG_FILE : .markdownlint.yml
@@ -42,6 +43,13 @@ REPOSITORY_KICS_ARGUMENTS: --fail-on high
42
43
43
44
REPOSITORY_TRIVY_ARGUMENTS : --severity HIGH,CRITICAL --ignore-unfixed
44
45
46
+ SPELL_LYCHEE_ARGUMENTS :
47
+ - --accept
48
+ - " 429"
49
+
50
+ SPELL_LYCHEE_UNSECURED_ENV_VARIABLES :
51
+ - GITHUB_TOKEN
52
+
45
53
TERRAFORM_TFLINT_UNSECURED_ENV_VARIABLES :
46
54
- GITHUB_TOKEN
47
55
You can’t perform that action at this time.
0 commit comments