Skip to content

Commit 2327e77

Browse files
authored
Update codeql-analysis.yml
1 parent 29d6cf1 commit 2327e77

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

Diff for: .github/workflows/codeql-analysis.yml

+23-23
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ on:
1212
# This is only here to prevent this workflow from running.
1313
# codeql-analysis requires code scanning to be enabled
1414
# Code scanning can only be enabled for organizations
15-
push:
16-
branches: ${{ github.ref }}
17-
pull_request:
15+
# push:
16+
# branches: ${{ github.ref }}
17+
# pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: ${{ github.ref }}
20-
schedule:
21-
- cron: '0 13 * * 0'
19+
# branches: ${{ github.ref }}
20+
# schedule:
21+
# - cron: '0 13 * * 0'
2222

2323
# push:
2424
# branches: [main]
@@ -27,35 +27,35 @@ on:
2727
# schedule:
2828
# - cron: '0 13 * * 0'
2929

30-
jobs:
31-
CodeQL-Build:
30+
# jobs:
31+
# CodeQL-Build:
3232

33-
runs-on: ubuntu-latest
33+
# runs-on: ubuntu-latest
3434

35-
steps:
36-
- name: Checkout repository
37-
uses: actions/checkout@v2
38-
with:
35+
# steps:
36+
# - name: Checkout repository
37+
# uses: actions/checkout@v2
38+
# with:
3939
# We must fetch at least the immediate parents so that if this is
4040
# a pull request then we can checkout the head.
41-
fetch-depth: 2
41+
# fetch-depth: 2
4242

4343
# If this run was triggered by a pull request event, then checkout
4444
# the head of the pull request instead of the merge commit.
45-
- run: git checkout HEAD^2
46-
if: ${{ github.event_name == 'pull_request' }}
45+
# - run: git checkout HEAD^2
46+
# if: ${{ github.event_name == 'pull_request' }}
4747

4848
# Initializes the CodeQL tools for scanning.
49-
- name: Initialize CodeQL
50-
uses: github/codeql-action/init@v1
49+
# - name: Initialize CodeQL
50+
# uses: github/codeql-action/init@v1
5151
# Override language selection by uncommenting this and choosing your languages
5252
# with:
5353
# languages: go, javascript, csharp, python, cpp, java
5454

5555
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5656
# If this step fails, then you should remove it and run the build manually (see below)
57-
- name: Autobuild
58-
uses: github/codeql-action/autobuild@v1
57+
# - name: Autobuild
58+
# uses: github/codeql-action/autobuild@v1
5959

6060
# ℹ️ Command-line programs to run using the OS shell.
6161
# 📚 https://git.io/JvXDl
@@ -64,9 +64,9 @@ jobs:
6464
# and modify them (or add more) to build your code if your project
6565
# uses a compiled language
6666

67-
#- run: |
67+
# - run: |
6868
# make bootstrap
6969
# make release
7070

71-
- name: Perform CodeQL Analysis
72-
uses: github/codeql-action/analyze@v1
71+
# - name: Perform CodeQL Analysis
72+
# uses: github/codeql-action/analyze@v1

0 commit comments

Comments
 (0)