瀏覽代碼

Merge pull request #65 from theresnotime/develop

Add CodeQL, dependency review gh actions
pull/66/head
Ben Kurtovic 2 年之前
committed by GitHub
父節點
當前提交
a9e5067369
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 2 個文件被更改,包括 50 次插入0 次删除
  1. +36
    -0
      .github/workflows/codeql-analysis.yml
  2. +14
    -0
      .github/workflows/dependency-review.yml

+ 36
- 0
.github/workflows/codeql-analysis.yml 查看文件

@@ -0,0 +1,36 @@
name: "CodeQL"

on:
push:
branches: [ "develop", "master" ]
schedule:
- cron: '38 0 * * 5'

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

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

+ 14
- 0
.github/workflows/dependency-review.yml 查看文件

@@ -0,0 +1,14 @@
name: 'Dependency Review'
on: [pull_request]

permissions:
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v3
- name: 'Dependency Review'
uses: actions/dependency-review-action@v1

Loading…
取消
儲存