Skip to content

[GitHub Dependents Info] Updated markdown file #1197

[GitHub Dependents Info] Updated markdown file

[GitHub Dependents Info] Updated markdown file #1197

Workflow file for this run

---
# Mega-Linter GitHub Action configuration file
# More info at https://github.com/oxsecurity/megalinter#readme
name: Mega-Linter
on:
# Trigger mega-linter at every push. Action will also be visible from Pull Requests to master
push: # Comment this line to trigger action only on pull-requests (not recommended if you don't pay for GH Actions)
pull_request:
branches: [main]
permissions: read-all
jobs:
build:
name: Mega-Linter
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push, comment issues & post new PR
# Remove the ones you do not need
contents: write
issues: write
pull-requests: write
steps:
# Git Checkout
- name: Checkout Code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false
# Mega-Linter
- name: Mega-Linter
uses: oxsecurity/megalinter/flavors/javascript@15e5b45552097e318c93de385779ce3b1084052c # v10.0.0
env:
# All available variables are described in documentation
# https://github.com/oxsecurity/megalinter#configuration
VALIDATE_ALL_CODEBASE: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# REPOSITORY_KICS was removed in MegaLinter v10
DISABLE_LINTERS: JAVASCRIPT_STANDARD,SPELL_PROSELINT
JAVA_FILTER_REGEX_EXCLUDE: (JavaCallerTester)
# Upload Mega-Linter artifacts. They will be available on Github action page "Artifacts" section
- name: Archive production artifacts
if: success() || failure()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: Mega-Linter reports
path: |
megalinter-reports
mega-linter.log