Skip to content

Commit

Permalink
ci: Add CodeQL workflow (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
helayoty committed Oct 7, 2022
1 parent b936bef commit 71823e9
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 8 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "CodeQL"

on:
push:
branches:
- master
schedule:
- cron: "0 7 * * 1" # Mondays at 7:00 AM

permissions: read-all

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

steps:
- name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b

- name: Initialize CodeQL
uses: github/codeql-action/init@e0e5ded33cabb451ae0a9768fc7b0410bad9ad44
with:
languages: go

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@e0e5ded33cabb451ae0a9768fc7b0410bad9ad44
3 changes: 3 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Ref: https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-code-owners

* @Fei-Guo @helayoty
8 changes: 0 additions & 8 deletions OWNERS

This file was deleted.

0 comments on commit 71823e9

Please sign in to comment.