Skip to content

Merge pull request #3 from trendmicro/repo-updates #22

Merge pull request #3 from trendmicro/repo-updates

Merge pull request #3 from trendmicro/repo-updates #22

Workflow file for this run

name: "Code Scanning"
# It trigger when any push or PR is made in the the code under the branch configured and every 09:00AM on Monday, Wednesday, and Friday
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 9 * * 1,3,5'
# Allows to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'python', 'javascript' ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2