Skip to content

Commit 8d588ff

Browse files
author
games647
committed
Document codeql workflow file
1 parent 92e05c4 commit 8d588ff

File tree

1 file changed

+12
-29
lines changed

1 file changed

+12
-29
lines changed
Lines changed: 12 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,25 @@
1-
# For most projects, this workflow file will not need changing; you simply need
2-
# to commit it to your repository.
3-
#
4-
# You may wish to alter this file to override the set of languages analyzed,
5-
# or to provide custom queries or build logic.
6-
#
7-
# ******** NOTE ********
8-
# We have attempted to detect the languages in your repository. Please check
9-
# the `language` matrix defined below to confirm you have the correct set of
10-
# supported CodeQL languages.
11-
#
1+
# GitHub automatic code security scanning using CodeQL
2+
3+
# Human readable name in the actions tab
124
name: "CodeQL"
135

146
on:
7+
# Scan only for push on the primary branch for now
158
push:
16-
branches: [ main, codeql ]
9+
branches: [ main ]
1710
pull_request:
18-
# The branches below must be a subset of the branches above
1911
branches: [ main ]
20-
schedule:
21-
- cron: '34 11 * * 1'
2212

2313
jobs:
14+
# job i
2415
analyze:
16+
17+
# Display name
2518
name: Analyze
19+
20+
# Environment
2621
runs-on: ubuntu-latest
22+
2723
permissions:
2824
actions: read
2925
contents: read
@@ -32,10 +28,8 @@ jobs:
3228
strategy:
3329
fail-fast: false
3430
matrix:
31+
# Languages to scan
3532
language: [ 'java' ]
36-
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
37-
# Learn more:
38-
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
3933

4034
steps:
4135
- name: Checkout repository
@@ -56,16 +50,5 @@ jobs:
5650
- name: Autobuild
5751
uses: github/codeql-action/autobuild@v1
5852

59-
# ℹ️ Command-line programs to run using the OS shell.
60-
# 📚 https://git.io/JvXDl
61-
62-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63-
# and modify them (or add more) to build your code if your project
64-
# uses a compiled language
65-
66-
#- run: |
67-
# make bootstrap
68-
# make release
69-
7053
- name: Perform CodeQL Analysis
7154
uses: github/codeql-action/analyze@v1

0 commit comments

Comments
 (0)