Skip to content

Fix errors surfaced in e2e smoke tests #1638

Fix errors surfaced in e2e smoke tests

Fix errors surfaced in e2e smoke tests #1638

Workflow file for this run

# Security policy for GitHub Security Advisories
name: CodeQL Security Scanning
on:
push:
branches-ignore:
- "hotfix/**"
pull_request:
workflow_dispatch:
jobs:
analyze:
name: Analyze Code
if: ${{ !startsWith(github.head_ref || github.ref_name, 'hotfix/') }}
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ["javascript", "actions"]
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Initialize CodeQL
uses: github/codeql-action/init@5595ccaf912efad79be6eef63a5619ff05969be3 # v4.37.6
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
config-file: ./.github/codeql/codeql-config.yml
- name: Autobuild
if: matrix.language == 'javascript'
uses: github/codeql-action/autobuild@5595ccaf912efad79be6eef63a5619ff05969be3 # v4.37.6
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@5595ccaf912efad79be6eef63a5619ff05969be3 # v4.37.6
with:
category: "/language:${{ matrix.language }}"
hotfix-bypass:
name: CodeQL Hotfix Bypass
runs-on: ubuntu-latest
if: ${{ startsWith(github.head_ref || github.ref_name, 'hotfix/') }}
permissions: {}
steps:
- name: Skip CodeQL for hotfix branch
run: echo "hotfix/* branch detected; skipping CodeQL but allowing deployments."