Skip to content

Commit a5e6568

Browse files
authored
Merge pull request #59 from essentialkaos/develop
Added workflow for CodeQL analysis action
2 parents 47325dd + b7b54ff commit a5e6568

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [master, develop]
6+
pull_request:
7+
branches: [master]
8+
schedule:
9+
- cron: '0 17 * * 1,3,5'
10+
11+
jobs:
12+
analyse:
13+
name: Analyse
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v2
19+
with:
20+
fetch-depth: 2
21+
22+
- run: git checkout HEAD^2
23+
if: ${{ github.event_name == 'pull_request' }}
24+
25+
- name: Initialize CodeQL
26+
uses: github/codeql-action/init@v1
27+
with:
28+
languages: go
29+
30+
- name: Perform CodeQL Analysis
31+
uses: github/codeql-action/analyze@v1

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<a href="https://goreportcard.com/report/github.com/essentialkaos/sslcli"><img src="https://goreportcard.com/badge/github.com/essentialkaos/sslcli"></a>
55
<a href="https://codebeat.co/projects/github-com-essentialkaos-sslcli-master"><img src="https://codebeat.co/badges/edc52bb1-c807-470b-8466-b86cc0cfcdbe"></a>
66
<a href="https://travis-ci.com/essentialkaos/sslcli"><img src="https://travis-ci.com/essentialkaos/sslcli.svg"></a>
7+
<img src="https://github.com/essentialkaos/sslcli/workflows/CodeQL/badge.svg">
78
<a href="#license"><img src="https://gh.kaos.st/apache2.svg"></a>
89
</p>
910

0 commit comments

Comments
 (0)