forked from cloudfoundry/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (30 loc) · 827 Bytes
/
Copy pathcode-quality.yml
File metadata and controls
38 lines (30 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: "Code Quality"
on:
push:
branches: [ master, '*' ]
pull_request:
branches: [ master ]
schedule:
- cron: '45 5 * * *'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
if: ${{ github.repository == 'cloudfoundry/cli' }}
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: go
config-file: ./.github/codeql/codeql-config.yml
- name: Autobuild
uses: github/codeql-action/autobuild@v1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
# vim: set sw=2 ts=2 sts=2 et tw=78 foldlevel=2 fdm=indent nospell: