Skip to content

Commit 2956c09

Browse files
Merge pull request #1314 from github/update-v1.1.28-cc7986c0
Merge releases/v2 into releases/v1
2 parents 642d5ce + 872f837 commit 2956c09

File tree

122 files changed

+3643
-4856
lines changed

Some content is hidden

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

122 files changed

+3643
-4856
lines changed

.github/prepare-test/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ runs:
2222
run: |
2323
if [[ ${{ inputs.version }} == "nightly-latest" ]]; then
2424
export LATEST=`gh release list --repo dsp-testing/codeql-cli-nightlies -L 1 | cut -f 3`
25-
echo "::set-output name=tools-url::https://github.com/dsp-testing/codeql-cli-nightlies/releases/download/$LATEST/codeql-bundle.tar.gz"
25+
echo "tools-url=https://github.com/dsp-testing/codeql-cli-nightlies/releases/download/$LATEST/codeql-bundle.tar.gz" >> $GITHUB_OUTPUT
2626
elif [[ ${{ inputs.version }} == *"nightly"* ]]; then
2727
export VERSION=`echo ${{ inputs.version }} | sed -e 's/^.*\-//'`
28-
echo "::set-output name=tools-url::https://github.com/dsp-testing/codeql-cli-nightlies/releases/download/codeql-bundle-$VERSION-manual/codeql-bundle.tar.gz"
28+
echo "tools-url=https://github.com/dsp-testing/codeql-cli-nightlies/releases/download/codeql-bundle-$VERSION-manual/codeql-bundle.tar.gz" >> $GITHUB_OUTPUT
2929
elif [[ ${{ inputs.version }} == *"stable"* ]]; then
3030
export VERSION=`echo ${{ inputs.version }} | sed -e 's/^.*\-//'`
31-
echo "::set-output name=tools-url::https://github.com/github/codeql-action/releases/download/codeql-bundle-$VERSION/codeql-bundle.tar.gz"
31+
echo "tools-url=https://github.com/github/codeql-action/releases/download/codeql-bundle-$VERSION/codeql-bundle.tar.gz" >> $GITHUB_OUTPUT
3232
elif [[ ${{ inputs.version }} == "latest" ]]; then
33-
echo "::set-output name=tools-url::latest"
33+
echo "tools-url=latest" >> $GITHUB_OUTPUT
3434
elif [[ ${{ inputs.version }} == "cached" ]]; then
35-
echo "::set-output name=tools-url::"
35+
echo "tools-url=" >> $GITHUB_OUTPUT
3636
else
3737
echo "::error Unrecognized version specified!"
3838
fi

.github/update-release-branch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def open_pr(
104104
body.append(' - [ ] Wait for the "Update dependencies" workflow to push a commit updating the dependencies.')
105105
body.append(' - [ ] Mark the PR as ready for review to trigger the full set of PR checks.')
106106

107-
body.append(' - [ ] Approve and merge this PR.')
107+
body.append(' - [ ] Approve and merge this PR. Make sure `Create a merge commit` is selected rather than `Squash and merge` or `Rebase and merge`.')
108108

109109
if is_v2_release:
110110
body.append(' - [ ] Merge the mergeback PR that will automatically be created once this PR is merged.')

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
6262
# Output a JSON-encoded list with the distinct versions to test against.
6363
echo "Suggested matrix config for analysis job: $VERSIONS_JSON"
64-
echo "::set-output name=versions::${VERSIONS_JSON}"
64+
echo "versions=${VERSIONS_JSON}" >> $GITHUB_OUTPUT
6565
6666
build:
6767
needs: [check-codeql-versions]

.github/workflows/post-release-mergeback.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,10 @@ jobs:
4747
id: getVersion
4848
run: |
4949
VERSION="v$(jq '.version' -r 'package.json')"
50-
echo "::set-output name=version::${VERSION}"
50+
echo "version=${VERSION}" >> $GITHUB_OUTPUT
5151
short_sha="${GITHUB_SHA:0:8}"
5252
NEW_BRANCH="mergeback/${VERSION}-to-${BASE_BRANCH}-${short_sha}"
53-
echo "::set-output name=newBranch::${NEW_BRANCH}"
54-
53+
echo "newBranch=${NEW_BRANCH}" >> $GITHUB_OUTPUT
5554
5655
- name: Dump branches
5756
env:
@@ -77,7 +76,7 @@ jobs:
7776
exists="$?"
7877
if [ "${exists}" -eq 0 ]; then
7978
echo "Tag ${VERSION} exists. Not going to re-release."
80-
echo "::set-output name=exists::true"
79+
echo "exists=true" >> $GITHUB_OUTPUT
8180
else
8281
echo "Tag ${VERSION} does not exist yet."
8382
fi
@@ -122,7 +121,7 @@ jobs:
122121
- [ ] Remove and re-add the "Update dependencies" label to the PR to trigger just this workflow.
123122
- [ ] Wait for the "Update dependencies" workflow to push a commit updating the dependencies.
124123
- [ ] Mark the PR as ready for review to trigger the full set of PR checks.
125-
- [ ] Approve and merge the PR.
124+
- [ ] Approve and merge the PR. Make sure `Create a merge commit` is selected rather than `Squash and merge` or `Rebase and merge`.
126125
EOF
127126
)
128127

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# CodeQL Action Changelog
22

3+
## 1.1.28 - 18 Oct 2022
4+
5+
- Update default CodeQL bundle version to 2.11.1. [#1294](https://github.com/github/codeql-action/pull/1294)
6+
- Replace uses of GitHub Actions command `set-output` because it is now deprecated. See more information in the [GitHub Changelog](https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/). [#1301](https://github.com/github/codeql-action/pull/1301)
7+
38
## 1.1.27 - 06 Oct 2022
49

510
- We are rolling out a feature of the CodeQL Action in October 2022 that changes the way that Go code is analyzed to be more consistent with other compiled languages like C/C++, C#, and Java. You do not need to alter your code scanning workflows. If you encounter any problems, please [file an issue](https://github.com/github/codeql-action/issues) or open a private ticket with GitHub Support and request an escalation to engineering.

lib/analyze-action.js

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy