Skip to content

ci: skip CodeQL analysis on private repo #11

ci: skip CodeQL analysis on private repo

ci: skip CodeQL analysis on private repo #11

Workflow file for this run

name: CodeQL
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '30 3 * * 1'
permissions:
contents: read
jobs:
analyze:
name: Analyze ${{ matrix.language }}
if: github.repository_owner != 'The-OpenROAD-Project-private'
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [actions, python, ruby]
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Initialize CodeQL
uses: github/codeql-action/init@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4.37.9
with:
languages: ${{ matrix.language }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4.37.9
with:
category: "/language:${{ matrix.language }}"