Skip to content

Bump actions/upload-artifact from 3 to 4 #2

Bump actions/upload-artifact from 3 to 4

Bump actions/upload-artifact from 3 to 4 #2

Workflow file for this run

---
name: Lint
on:
pull_request:
jobs:
super-lint:
name: Lint with Super-Linter
runs-on: ubuntu-latest
steps:
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout code
uses: actions/checkout@v4
with:
# Make sure the actual branch is checked out when running on PR
ref: ${{ github.event.pull_request.head.sha }}
# Full git history needed to get proper list of changed files
fetch-depth: 0
# Runs the Super-Linter action
- name: Run Super-Linter on new changes
uses: docker://ghcr.io/github/super-linter:slim-v4
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MARKDOWN_CONFIG_FILE: .markdownlint.json
# Only check new or edited files
# FIXME to be set back to false once all content got checked
VALIDATE_ALL_CODEBASE: true
# Fail on errors
DISABLE_ERRORS: false
# XXX: Not working, see https://github.com/github/super-linter/issues/3552
VALIDATE_GITLEAKS: false
# Ignore errors due to:
# - non constant source (SC1090)
# - No such file or directory (SC1091)
SHELLCHECK_OPTS: -e SC1090,SC1091