Skip to content

Primary color a11y updates #1767

Primary color a11y updates

Primary color a11y updates #1767

Workflow file for this run

# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# ******** NOTE ********
# This workflow includes alert suppression support via lgtm/codeql comments.
# See: https://docs.github.com/en/code-security/code-scanning
#
name: CodeQL Analysis
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '17 4 * * 5' # Weekly on Friday at 4:17 AM UTC
permissions:
contents: read
security-events: write
actions: read
packages: read # Required to fetch internal or private CodeQL packs
concurrency:
group: codeql-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: javascript-typescript
build-mode: none
steps:
- name: Checkout repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@45cbd0c69e560cd9e7cd7f8c32362050c9b7ded2 # v4.32.2
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
config-file: .github/codeql/codeql-config.yml
- name: Perform CodeQL Analysis
id: analyze
uses: github/codeql-action/analyze@45cbd0c69e560cd9e7cd7f8c32362050c9b7ded2 # v4.32.2
with:
category: /language:${{ matrix.language }}
output: sarif-results
- name: Dismiss suppressed alerts
if: github.ref == 'refs/heads/main' && matrix.language == 'javascript-typescript'
uses: advanced-security/dismiss-alerts@3478381bd53e9f9a9ea1c23bd25ef0ec236e0d06 # v2
with:
sarif-id: ${{ steps.analyze.outputs['sarif-id'] }}
sarif-file: sarif-results/javascript.sarif
env:
GITHUB_TOKEN: ${{ github.token }}