Skip to content

Lint n suggest#14

Closed
sola-ukho wants to merge 2 commits intomainfrom
lint-n-suggest
Closed

Lint n suggest#14
sola-ukho wants to merge 2 commits intomainfrom
lint-n-suggest

Conversation

@sola-ukho
Copy link

No description provided.

@sola-ukho sola-ukho requested review from a team as code owners December 2, 2025 11:27
@github-actions
Copy link

github-actions bot commented Dec 2, 2025

MegaLinter analysis: Error

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ TERRAFORM terraform-fmt 1 1 0 0 0.04s
❌ TERRAFORM tflint yes 1 no 0.32s
✅ YAML prettier 1 1 0 0 0.31s
✅ YAML yamllint 1 0 0 0.23s

Detailed Issues

❌ TERRAFORM / tflint - 1 error
│ Failed to run in sandbox/prerequisites; exit status 1

Failed to initialize plugins; Plugin "azurerm" not found. Did you run "tflint --init"?

See detailed reports in MegaLinter artifacts
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

Comment on lines +1 to +49
name: MegaLinter with Reviewdog Suggester
on:
pull_request:
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
permissions: {}
jobs:
megalinter:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run MegaLinter
uses: oxsecurity/megalinter/flavors/terraform@v9.1.0
env:
APPLY_FIXES: all
APPLY_FIXES_EVENT: pull_request
APPLY_FIXES_MODE: no_commit
DISABLE_LINTERS: YAML_V8R,TERRAFORM_TERRASCAN,MARKDOWN_MARKDOWN_TABLE_FORMATTER
FLAVOR_SUGGESTIONS: false
ENABLE: YAML,TERRAFORM,MARKDOWN
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPORTERS: github_pr_review,github_suggestions,SARIF
REPORT_OUTPUT_FOLDER: megalinter-reports
VALIDATE_ALL_CODEBASE: false
- name: Archive MegaLinter reports
if: always()
uses: actions/upload-artifact@v4
with:
name: megalinter-reports
path: |
megalinter-reports
mega-linter.log
- name: List MegaLinter report files
if: always()
run: ls -l megalinter-reports || true
- name: Suggest fixes with reviewdog
if: always()
uses: reviewdog/action-suggester@v1
with:
tool_name: megalinter
github_token: ${{ secrets.GITHUB_TOKEN }}
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[megalinter] reported by reviewdog 🐶

Suggested change
name: MegaLinter with Reviewdog Suggester
on:
pull_request:
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
permissions: {}
jobs:
megalinter:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run MegaLinter
uses: oxsecurity/megalinter/flavors/terraform@v9.1.0
env:
APPLY_FIXES: all
APPLY_FIXES_EVENT: pull_request
APPLY_FIXES_MODE: no_commit
DISABLE_LINTERS: YAML_V8R,TERRAFORM_TERRASCAN,MARKDOWN_MARKDOWN_TABLE_FORMATTER
FLAVOR_SUGGESTIONS: false
ENABLE: YAML,TERRAFORM,MARKDOWN
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPORTERS: github_pr_review,github_suggestions,SARIF
REPORT_OUTPUT_FOLDER: megalinter-reports
VALIDATE_ALL_CODEBASE: false
- name: Archive MegaLinter reports
if: always()
uses: actions/upload-artifact@v4
with:
name: megalinter-reports
path: |
megalinter-reports
mega-linter.log
- name: List MegaLinter report files
if: always()
run: ls -l megalinter-reports || true
- name: Suggest fixes with reviewdog
if: always()
uses: reviewdog/action-suggester@v1
with:
tool_name: megalinter
github_token: ${{ secrets.GITHUB_TOKEN }}
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: MegaLinter with Reviewdog Suggester
on:
pull_request:
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
permissions: {}
jobs:
megalinter:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run MegaLinter
uses: oxsecurity/megalinter/flavors/terraform@v9.1.0
env:
APPLY_FIXES: all
APPLY_FIXES_EVENT: pull_request
APPLY_FIXES_MODE: no_commit
DISABLE_LINTERS: YAML_V8R,TERRAFORM_TERRASCAN,MARKDOWN_MARKDOWN_TABLE_FORMATTER
FLAVOR_SUGGESTIONS: false
ENABLE: YAML,TERRAFORM,MARKDOWN
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPORTERS: github_pr_review,github_suggestions,SARIF
REPORT_OUTPUT_FOLDER: megalinter-reports
VALIDATE_ALL_CODEBASE: false
- name: Archive MegaLinter reports
if: always()
uses: actions/upload-artifact@v4
with:
name: megalinter-reports
path: |
megalinter-reports
mega-linter.log
- name: List MegaLinter report files
if: always()
run: ls -l megalinter-reports || true
- name: Suggest fixes with reviewdog
if: always()
uses: reviewdog/action-suggester@v1
with:
tool_name: megalinter
github_token: ${{ secrets.GITHUB_TOKEN }}
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}

required_providers {
azurerm = {
source = "hashicorp/azurerm"
source= "hashicorp/azurerm"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[megalinter] reported by reviewdog 🐶

Suggested change
source= "hashicorp/azurerm"
source = "hashicorp/azurerm"

@sola-ukho sola-ukho closed this Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant