From 9bef235252c9697922f3a526a590da1c2142dc57 Mon Sep 17 00:00:00 2001 From: Sanket Sudake Date: Fri, 18 Jun 2021 14:59:07 +0530 Subject: [PATCH] Use codeql for code scanning (#2078) Signed-off-by: Sanket Sudake --- .github/workflows/codeql.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/codeql.yaml diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml new file mode 100644 index 00000000..adf29001 --- /dev/null +++ b/.github/workflows/codeql.yaml @@ -0,0 +1,23 @@ +name: Code Scanning + +on: + push: + pull_request: + schedule: + - cron: "0 0 * * 0" + +jobs: + CodeQL-Build: + runs-on: ubuntu-latest + + steps: + - name: Check out code + uses: actions/checkout@v2 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: go + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 \ No newline at end of file