Skip to content

Update actions/checkout action to v3.6.0 #859

Update actions/checkout action to v3.6.0

Update actions/checkout action to v3.6.0 #859

Workflow file for this run

name: ci
on:
workflow_dispatch:
push:
branches:
- main
- release/*
pull_request:
branches:
- main
- release/*
permissions: read-all
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
fetch-depth: 0
- name: Megalinter
uses: oxsecurity/megalinter@fda6ac3a38be0e969820709ac16e442464e5a035 # v7.3.0
env:
APPLY_FIXES: "none"
BASH_SHFMT_DISABLE_ERRORS: "false"
DISABLE_LINTERS: MARKDOWN_MARKDOWN_LINK_CHECK,REPOSITORY_CHECKOV,REPOSITORY_SECRETLINT,REPOSITORY_TRIVY,REPOSITORY_TRUFFLEHOG,SPELL_CSPELL,SPELL_LYCHEE
FILTER_REGEX_EXCLUDE: .*/ISSUE_TEMPLATE/.*
FLAVOR_SUGGESTIONS: "false"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JSON_PRETTIER_DISABLE_ERRORS: "false"
LOG_LEVEL: WARN
MARKDOWN_MARKDOWNLINT_DISABLE_ERRORS: "false"
PRINT_ALL_FILES: "false"
PRINT_ALPACA: "false"
SHOW_ELAPSED_TIME: "true"
SPELL_MISSPELL_DISABLE_ERRORS: "true"
VALIDATE_ALL_CODEBASE: "true"
YAML_PRETTIER_DISABLE_ERRORS: "false"
- name: Artifacts
if: ${{ success() }} || ${{ failure() }}
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: artifacts
path: |
report
mega-linter.log