Skip to content

Commit 5b28adb

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/typescript-4.4.2
2 parents f27dc32 + 008b2cc commit 5b28adb

Some content is hidden

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

46 files changed

+1757
-1042
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
lib/*.js linguist-generated=true
2+
.github/workflows/__* linguist-generated=true
23

34
# Reduce incidence of needless merge conflicts on CHANGELOG.md
45
# The man page at

.github/prepare-test/action.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: "Prepare test"
2+
description: Performs some preparation to run tests
3+
inputs:
4+
version:
5+
required: true
6+
outputs:
7+
tools-url:
8+
value: ${{ steps.get-url.outputs.tools-url }}
9+
runs:
10+
using: composite
11+
steps:
12+
- name: Move codeql-action
13+
shell: bash
14+
run: |
15+
mkdir ../action
16+
mv * .github ../action/
17+
mv ../action/tests/multi-language-repo/{*,.github} .
18+
mv ../action/.github/workflows .github
19+
- id: get-url
20+
name: Determine URL
21+
shell: bash
22+
run: |
23+
if [[ ${{ inputs.version }} == "nightly-latest" ]]; then
24+
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"
26+
elif [[ ${{ inputs.version }} == *"nightly"* ]]; then
27+
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"
29+
elif [[ ${{ inputs.version }} == *"stable"* ]]; then
30+
export VERSION=`echo ${{ inputs.version }} | sed -e 's/^.*\-//'`
31+
echo "Hello $VERSION"
32+
echo "::set-output name=tools-url::https://github.com/github/codeql-action/releases/download/codeql-bundle-$VERSION/codeql-bundle.tar.gz"
33+
elif [[ ${{ inputs.version }} == "latest" ]]; then
34+
echo "::set-output name=tools-url::latest"
35+
elif [[ ${{ inputs.version }} == "cached" ]]; then
36+
echo "::set-output name=tools-url::"
37+
else
38+
echo "::error Unrecognized version specified!"
39+
fi

.github/workflows/__go-custom-queries.yml

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

.github/workflows/__go-custom-tracing-autobuild.yml

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

.github/workflows/__go-custom-tracing.yml

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

.github/workflows/__javascript-source-root.yml

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

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

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

0 commit comments

Comments
 (0)