Skip to content

Commit a669cc5

Browse files
authored
Merge pull request #1428 from github/update-v2.1.36-2b971a70
Merge main into releases/v2
2 parents b2a92eb + aab7a26 commit a669cc5

File tree

92 files changed

+3078
-1791
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+3078
-1791
lines changed

.github/dependabot.yml

+9-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
version: 2
22
updates:
3-
- package-ecosystem: "npm"
3+
- package-ecosystem: npm
44
directory: "/"
55
schedule:
6-
interval: "weekly"
7-
day: "thursday" # Gives us a working day to merge this before our typical release
6+
interval: weekly
87
labels:
9-
- "Update dependencies"
8+
- Update dependencies
109
ignore:
1110
- dependency-name: "*"
12-
update-types: ["version-update:semver-minor", "version-update:semver-patch"]
13-
- package-ecosystem: "npm"
14-
directory: "/runner"
11+
update-types:
12+
- version-update:semver-minor
13+
- version-update:semver-patch
14+
- package-ecosystem: github-actions
15+
directory: "/"
1516
schedule:
16-
interval: "weekly"
17-
day: "thursday" # Gives us a working day to merge this before our typical release
18-
ignore:
19-
- dependency-name: "*"
20-
update-types: ["version-update:semver-minor", "version-update:semver-patch"]
17+
interval: weekly

.github/workflows/__export-file-baseline-information.yml

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__multi-language-autodetect.yml

+2-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__submit-sarif-failure.yml

+72
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__swift-autobuild.yml

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__swift-custom-build.yml

+2-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/pr-checks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
fi
8989
9090
- name: Set up Python
91-
uses: actions/setup-python@v3
91+
uses: actions/setup-python@v4
9292
with:
9393
python-version: 3.8
9494

.github/workflows/python-deps.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ jobs:
156156
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
157157
- uses: actions/checkout@v3
158158

159-
- uses: actions/setup-python@v3
159+
- uses: actions/setup-python@v4
160160
with:
161161
python-version: ${{ matrix.python_version }}
162162

.github/workflows/script/update-required-checks.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010

1111
if [ "$#" -eq 1 ]; then
1212
# If we were passed an argument, use that as the SHA
13-
GITHUB_SHA="$0"
13+
GITHUB_SHA="$1"
1414
elif [ "$#" -gt 1 ]; then
1515
echo "Usage: $0 [SHA]"
1616
echo "Update the required checks based on the SHA, or main."
@@ -23,7 +23,7 @@ fi
2323
echo "Getting checks for $GITHUB_SHA"
2424

2525
# Ignore any checks with "https://", CodeQL, LGTM, and Update checks.
26-
CHECKS="$(gh api repos/github/codeql-action/commits/"${GITHUB_SHA}"/check-runs --paginate | jq --slurp --compact-output --raw-output '[.[].check_runs | .[].name | select(contains("https://") or . == "CodeQL" or . == "LGTM.com" or contains("Update") or contains("update") or contains("test-setup-python-scripts") | not)] | unique | sort')"
26+
CHECKS="$(gh api repos/github/codeql-action/commits/"${GITHUB_SHA}"/check-runs --paginate | jq --slurp --compact-output --raw-output '[.[].check_runs | .[].name | select(contains("https://") or . == "CodeQL" or . == "LGTM.com" or . == "check-expected-release-files" or contains("Update") or contains("update") or contains("test-setup-python-scripts") | not)] | unique | sort')"
2727

2828
echo "$CHECKS" | jq
2929

.github/workflows/update-release-branch.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
fetch-depth: 0
3030

3131
- name: Set up Python
32-
uses: actions/setup-python@v3
32+
uses: actions/setup-python@v4
3333
with:
3434
python-version: 3.8
3535

.github/workflows/update-supported-enterprise-server-versions.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Setup Python
16-
uses: actions/setup-python@v3
16+
uses: actions/setup-python@v4
1717
with:
1818
python-version: "3.7"
1919
- name: Checkout CodeQL Action
@@ -35,7 +35,7 @@ jobs:
3535
env:
3636
ENTERPRISE_RELEASES_PATH: ${{ github.workspace }}/enterprise-releases/
3737
- name: Commit Changes
38-
uses: peter-evans/create-pull-request@c7f493a8000b8aeb17a1332e326ba76b57cb83eb # v3.4.1
38+
uses: peter-evans/create-pull-request@2b011faafdcbc9ceb11414d64d0573f37c774b04 # v4.2.3
3939
with:
4040
commit-message: Update supported GitHub Enterprise Server versions.
4141
title: Update supported GitHub Enterprise Server versions.

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# CodeQL Action Changelog
22

3+
## 2.1.36 - 08 Dec 2022
4+
5+
- Update default CodeQL bundle version to 2.11.5. [#1412](https://github.com/github/codeql-action/pull/1412)
6+
- Add a step that tries to upload a SARIF file for the workflow run when that workflow run fails. This will help better surface failed code scanning workflow runs. [#1393](https://github.com/github/codeql-action/pull/1393)
7+
- Python automatic dependency installation will no longer consider dependecy code installed in venv as user-written, for projects using Poetry that specify `virtualenvs.in-project = true` in their `poetry.toml`. [#1419](https://github.com/github/codeql-action/pull/1419).
8+
39
## 2.1.35 - 01 Dec 2022
410

511
No user facing changes.

analyze/action.yml

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ inputs:
1212
upload:
1313
description: Upload the SARIF file to Code Scanning
1414
required: false
15+
# If changing this, make sure to update workflow.ts accordingly.
1516
default: "true"
1617
cleanup-level:
1718
description: "Level of cleanup to perform on CodeQL databases at the end of the analyze step. This should either be 'none' to skip cleanup, or be a valid argument for the --mode flag of the CodeQL CLI command 'codeql database cleanup' as documented at https://codeql.github.com/docs/codeql-cli/manual/database-cleanup"
@@ -44,6 +45,7 @@ inputs:
4445
checkout_path:
4546
description: "The path at which the analyzed repository was checked out. Used to relativize any absolute paths in the uploaded SARIF file."
4647
required: false
48+
# If changing this, make sure to update workflow.ts accordingly.
4749
default: ${{ github.workspace }}
4850
ref:
4951
description: "The ref where results will be uploaded. If not provided, the Action will use the GITHUB_REF environment variable. If provided, the sha input must be provided as well. This input is not available in pull requests from forks."

0 commit comments

Comments
 (0)