Skip to content

Commit b307b50

Browse files
committed
Merge remote-tracking branch 'origin/main' into jest-28.1.2
2 parents b9d67c0 + 87ee170 commit b307b50

File tree

4 files changed

+257
-129
lines changed

4 files changed

+257
-129
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 12 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -13,50 +13,19 @@ jobs:
1313
analyze:
1414
name: Analyze
1515
runs-on: ubuntu-latest
16-
17-
strategy:
18-
fail-fast: false
19-
matrix:
20-
# Override automatic language detection by changing the below list
21-
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
22-
language: ['javascript']
23-
# Learn more...
24-
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
16+
permissions:
17+
actions: read
18+
contents: read
19+
security-events: write
2520

2621
steps:
27-
- name: Checkout repository
28-
uses: actions/checkout@v3
29-
with:
30-
# We must fetch at least the immediate parents so that if this is
31-
# a pull request then we can checkout the head.
32-
fetch-depth: 2
33-
34-
# If this run was triggered by a pull request event, then checkout
35-
# the head of the pull request instead of the merge commit.
36-
- run: git checkout HEAD^2
37-
if: ${{ github.event_name == 'pull_request' }}
38-
39-
# Initializes the CodeQL tools for scanning.
40-
- name: Initialize CodeQL
41-
uses: github/codeql-action/init@v2
42-
with:
43-
languages: ${{ matrix.language }}
44-
45-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
46-
# If this step fails, then you should remove it and run the build manually (see below)
47-
- name: Autobuild
48-
uses: github/codeql-action/autobuild@v2
49-
50-
# ℹ️ Command-line programs to run using the OS shell.
51-
# 📚 https://git.io/JvXDl
52-
53-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
54-
# and modify them (or add more) to build your code if your project
55-
# uses a compiled language
22+
- name: Checkout repository
23+
uses: actions/checkout@v3
5624

57-
#- run: |
58-
# make bootstrap
59-
# make release
25+
- name: Initialize CodeQL
26+
uses: github/codeql-action/init@v2
27+
with:
28+
languages: "javascript"
6029

61-
- name: Perform CodeQL Analysis
62-
uses: github/codeql-action/analyze@v2
30+
- name: Perform CodeQL Analysis
31+
uses: github/codeql-action/analyze@v2

.releaserc

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)