Skip to content

Canvas: properly remove stale design space guideline (#13210) #17830

Canvas: properly remove stale design space guideline (#13210)

Canvas: properly remove stale design space guideline (#13210) #17830

name: CodeQL
on:
push:
# Only run if JS files changed.
paths:
- '**.js'
- '**.cjs'
- '**.ts'
- '**.tsx'
branches:
- main
- release/*
pull_request:
# Only run if JS files changed.
paths:
- '**.js'
- '**.cjs'
- '**.ts'
# The branches below must be a subset of the branches above
branches:
- main
permissions:
contents: read
# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
# The concurrency group contains the workflow name and the (target) branch name.
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
timeout-minutes: 10
steps:
- name: Harden Runner
uses: step-security/harden-runner@6b3083af2869dc3314a0257a42f4af696cc79ba3
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
uploads.github.com:443
objects.githubusercontent.com:443
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- name: Initialize CodeQL
uses: github/codeql-action/init@b2c19fb9a2a485599ccf4ed5d65527d94bc57226
with:
languages: javascript
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@b2c19fb9a2a485599ccf4ed5d65527d94bc57226