Skip to content

Scrutinizer javascript #4

Scrutinizer javascript

Scrutinizer javascript #4

Workflow file for this run

---
name: MegaLinter
on:
pull_request:
paths:
- '**/*.js'
- '**/*.php'
- '**/*.vue'
- '.github/workflows/megalinter.yml'
- 'composer.json'
push:
paths:
- '**/*.js'
- '**/*.php'
- '**/*.vue'
- '.github/workflows/megalinter.yml'
- 'composer.json'
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
megalinter:
name: MegaLinter
runs-on: ubuntu-latest
permissions:
contents: read
issues: read
pull-requests: read
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
- name: MegaLinter
# You can override MegaLinter flavor used to have faster performances
# More info at https://megalinter.io/flavors/
uses: oxsecurity/megalinter@v7
#uses: oxsecurity/megalinter-php:v7.6.0
id: ml
# All available variables are described in documentation
# https://megalinter.io/configuration/
env:
VALIDATE_ALL_CODEBASE: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# ADD YOUR CUSTOM ENV VARIABLES HERE OR DEFINE THEM IN A FILE
# .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY
# Uncomment to disable copy-paste and spell checks
# DISABLE: COPYPASTE,SPELL
# Upload MegaLinter artifacts
- name: Archive production artifacts
uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: MegaLinter reports
path: |
megalinter-reports
mega-linter.log