Skip to content

Fix Sentry error, add redirect from sitemap.xml to sitemap-index.xml,… #1633

Fix Sentry error, add redirect from sitemap.xml to sitemap-index.xml,…

Fix Sentry error, add redirect from sitemap.xml to sitemap-index.xml,… #1633

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@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Initialize CodeQL
uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
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@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
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."