Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sonic-net/sonic-platform-common
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 91708776babbd831fd8f84100bc4ea64ca54c88f
Choose a base ref
...
head repository: sonic-net/sonic-platform-common
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d11e98359ad25e0726feca2da1c716bd6eb5830c
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jan 4, 2023

  1. Copy the full SHA
    d11e983 View commit details
Showing with 47 additions and 0 deletions.
  1. +4 −0 .github/codeql/codeql-config.yml
  2. +43 −0 .github/workflows/codeql-analysis.yml
4 changes: 4 additions & 0 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: "CodeQL config"
queries:
- uses: security-and-quality
- uses: security-extended
43 changes: 43 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# For more infomation, please visit: https://github.com/github/codeql-action

name: "CodeQL"

on:
push:
branches:
- 'master'
- '202[0-9][0-9][0-9]'
pull_request_target:
branches:
- 'master'
- '202[0-9][0-9][0-9]'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'python' ]

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
config-file: ./.github/codeql/codeql-config.yml
languages: ${{ matrix.language }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"