Skip to content

chore(actions): bump docker/login-action from 2 to 3 #69

chore(actions): bump docker/login-action from 2 to 3

chore(actions): bump docker/login-action from 2 to 3 #69

Workflow file for this run

---
name: Lint Code Base
"on":
pull_request:
types:
- "opened"
- "reopened"
- "synchronize"
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
build:
name: Lint Code Base
runs-on: ubuntu-latest
timeout-minutes: 30
if: ${{ github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
# fetch-depth: 0 # can be removed if VALIDATE_ALL_CODEBASE = true
- name: Lint
uses: oxsecurity/megalinter/flavors/ci_light@v7 # see https://megalinter.io/flavors/
# See https://megalinter.io/configuration/ for all available configurations
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: true # Lint only changed files
APPLY_FIXES: none
LOG_LEVEL: INFO
PRINT_ALPACA: false
ENABLE: REPOSITORY
ENABLE_LINTERS: BASH_SHELLCHECK,YAML_YAMLLINT,DOCKERFILE_HADOLINT
- name: Upload reports
if: ${{ success() }} || ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: MegaLinter reports
path: |
megalinter-reports
mega-linter.log