Skip to content

Commit b03e8db

Browse files
authored
Merge branch 'main' into del_unused_vars_docker_autoscaler
2 parents 6e9e25b + 7d61999 commit b03e8db

File tree

9 files changed

+77
-584
lines changed

9 files changed

+77
-584
lines changed

Diff for: .github/workflows/ci.yml

-47
Original file line numberDiff line numberDiff line change
@@ -56,53 +56,6 @@ jobs:
5656
run: terraform fmt -recursive -check=true -write=false
5757
- run: terraform validate
5858

59-
linter:
60-
name: MegaLinter
61-
runs-on: ubuntu-latest
62-
steps:
63-
# Git Checkout
64-
- name: Checkout Code
65-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
66-
with:
67-
token: ${{ secrets.GITHUB_TOKEN }}
68-
fetch-depth: 0 # If you use VALIDATE_ALL_CODEBASE = true, you can remove this line to improve performances
69-
70-
# MegaLinter
71-
- name: MegaLinter
72-
id: ml
73-
# You can override MegaLinter flavor used to have faster performances
74-
# More info at https://megalinter.io/flavors/
75-
uses: oxsecurity/megalinter@f90c800040e4f84800700b27b2394d3eecc1fdad # v8.4.0
76-
env:
77-
# All available variables are described in documentation
78-
# https://megalinter.io/configuration/
79-
VALIDATE_ALL_CODEBASE: false
80-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
81-
# ADD YOUR CUSTOM ENV VARIABLES HERE OR DEFINE THEM IN A FILE .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY
82-
SPELL_CSPELL_FILTER_REGEX_EXCLUDE: (\.gitignore|.tflint.hcl|CHANGELOG.md)
83-
# needed to avoid multiple error messages
84-
TERRAFORM_TERRASCAN_ARGUMENTS: "--non-recursive"
85-
# format issues fail the build
86-
TERRAFORM_TERRAFORM_FMT_DISABLE_ERRORS: false
87-
# it's an auto-generated file
88-
MARKDOWN_MARKDOWNLINT_FILTER_REGEX_EXCLUDE: (CHANGELOG.md)
89-
# it's an auto-generated file
90-
MARKDOWN_MARKDOWN_LINK_CHECK_FILTER_REGEX_EXCLUDE: (CHANGELOG.md)
91-
PAT: ${{ secrets.GITHUB_TOKEN }}
92-
# automatically commit fixes to the feature branch
93-
APPLY_FIXES: all
94-
APPLY_FIXES_EVENT: pull_request
95-
APPLY_FIXES_MODE: commit
96-
# Upload MegaLinter artifacts
97-
- name: Archive production artifacts
98-
if: ${{ success() || failure() }}
99-
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
100-
with:
101-
name: MegaLinter reports
102-
path: |
103-
megalinter-reports
104-
mega-linter.log
105-
10659
kics:
10760
runs-on: ubuntu-latest
10861
container:

Diff for: .github/workflows/feature_branch-megalinter.yml

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
name: Feature branch MegaLinter
3+
4+
on: # yamllint disable-line rule:truthy
5+
pull_request:
6+
7+
concurrency:
8+
group: ${{ github.ref }}-${{ github.workflow }}
9+
cancel-in-progress: true
10+
11+
permissions:
12+
contents: write
13+
issues: write
14+
pull-requests: write
15+
16+
jobs:
17+
linter:
18+
name: MegaLinter
19+
runs-on: ubuntu-latest
20+
steps:
21+
# Git Checkout
22+
- name: Checkout Code
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
24+
with:
25+
token: ${{ secrets.GITHUB_TOKEN }}
26+
fetch-depth: 0 # If you use VALIDATE_ALL_CODEBASE = true, you can remove this line to improve performances
27+
28+
# MegaLinter
29+
- name: MegaLinter
30+
id: ml
31+
# You can override MegaLinter flavor used to have faster performances
32+
# More info at https://megalinter.io/flavors/
33+
uses: oxsecurity/megalinter@f90c800040e4f84800700b27b2394d3eecc1fdad # v8.4.0
34+
env:
35+
# All available variables are described in documentation
36+
# https://megalinter.io/configuration/
37+
VALIDATE_ALL_CODEBASE: false
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
# ADD YOUR CUSTOM ENV VARIABLES HERE OR DEFINE THEM IN A FILE .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY
40+
SPELL_CSPELL_FILTER_REGEX_EXCLUDE: (\.gitignore|.tflint.hcl|CHANGELOG.md)
41+
# needed to avoid multiple error messages
42+
TERRAFORM_TERRASCAN_ARGUMENTS: "--non-recursive"
43+
# format issues fail the build
44+
TERRAFORM_TERRAFORM_FMT_DISABLE_ERRORS: false
45+
# it's an auto-generated file
46+
MARKDOWN_MARKDOWNLINT_FILTER_REGEX_EXCLUDE: (CHANGELOG.md)
47+
# it's an auto-generated file
48+
MARKDOWN_MARKDOWN_LINK_CHECK_FILTER_REGEX_EXCLUDE: (CHANGELOG.md)
49+
# automatically commit fixes to the feature branch
50+
APPLY_FIXES: all
51+
APPLY_FIXES_EVENT: pull_request
52+
APPLY_FIXES_MODE: commit
53+
# Upload MegaLinter artifacts
54+
- name: Archive production artifacts
55+
if: ${{ success() || failure() }}
56+
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
57+
with:
58+
name: MegaLinter reports
59+
path: |
60+
megalinter-reports
61+
mega-linter.log
62+

Diff for: examples/runner-default/.terraform.lock.hcl

-179
This file was deleted.

0 commit comments

Comments
 (0)