Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Merge pull request #113 from readmeio/dependabot/npm_and_yarn/minor-d… #41

Merge pull request #113 from readmeio/dependabot/npm_and_yarn/minor-d…

Merge pull request #113 from readmeio/dependabot/npm_and_yarn/minor-d… #41

Workflow file for this run

name: CodeQL
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
# When running CodeQL on pull requests, cancel in-progress jobs if another run is started for the
# same pull request. This reduces our costs when you push multiple times in quick succession.
concurrency:
# This concurrency group cancels in-progress jobs or runs on pull_request events only.
# github.head_ref is only defined on pull_request events. If github.head_ref is undefined, the
# concurrency group will fallback to the run ID, which is guaranteed to be both unique and
# defined for the run.
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 360
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: javascript
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: '/language:javascript'