🚓 Análisis de código #64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🚓 Análisis de código | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ master ] | |
paths: | |
- '/layouts/' | |
- '/assets/' | |
- '/functions/' | |
schedule: | |
- cron: '0 11 * * 5' | |
jobs: | |
analyze: | |
name: Analizar | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'javascript' ] | |
steps: | |
- name: Inicializar Github Action | |
uses: actions/checkout@v3 | |
- name: Inicializar CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Autoconstruir | |
uses: github/codeql-action/autobuild@v2 | |
- name: Análisis CodeQL | |
uses: github/codeql-action/analyze@v2 |