Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
2d75893
Enable the CodeQL SARIF multi-cause markdown flag.
chrisgavin Sep 24, 2020
2e550bb
Check CODEQL_EXTRACTOR_GO_BUILD_TRACING
robertbrignull Sep 18, 2020
82e3812
Merge branch 'main' into robertbrignull/go_build_trace
robertbrignull Nov 4, 2020
80b43ca
send action ref and tool version in status reports
robertbrignull Nov 11, 2020
1737b80
check if running locally
robertbrignull Nov 12, 2020
af27146
Merge branch 'main' into robertbrignull/go_build_trace
robertbrignull Nov 13, 2020
54c857c
update build command
robertbrignull Nov 13, 2020
f94e06a
Merge main into add-multi-cause-markdown-flag.
chrisgavin Nov 18, 2020
10b43b8
Merge pull request #231 from github/add-multi-cause-markdown-flag
chrisgavin Nov 18, 2020
0d960df
Merge branch 'main' into robertbrignull/tools_version
robertbrignull Nov 18, 2020
dc80b01
Merge pull request #301 from github/robertbrignull/tools_version
robertbrignull Nov 18, 2020
68dedea
Do not run CodeQL if code scanning is not enabled
Nov 18, 2020
726cfc8
Ensure unqualified program names are present on `PATH` before executi…
chrisgavin Nov 18, 2020
f3ff4c8
Implement review feedback
Nov 19, 2020
17d4671
Fail processing on a 422 as well
Nov 19, 2020
0924fb6
Merge pull request #309 from github/safe-which
chrisgavin Nov 19, 2020
7fda765
Merge remote-tracking branch 'origin/main' into simon-engledew/fast-fail
Nov 19, 2020
eb4226e
Scanning endpoint failures should not halt the scan
Nov 19, 2020
0b0bc35
Merge branch 'main' into robertbrignull/go_build_trace
robertbrignull Nov 19, 2020
aafb457
Merge pull request #222 from github/robertbrignull/go_build_trace
robertbrignull Nov 19, 2020
22f779c
Update ESLint configuration
ericcornelissen Nov 19, 2020
b54c2aa
Fix no shadow issues in api-client.ts
ericcornelissen Nov 19, 2020
98ad63b
Fix no shadow issues in codeql.ts
ericcornelissen Nov 19, 2020
06e99f1
Fix no shadow issues in config-utils.test.ts
ericcornelissen Nov 19, 2020
2a2910e
Fix no shadow issues in config-utils.ts
ericcornelissen Nov 19, 2020
ffe9468
Fix no shadow issues in fingerprints.test.ts
ericcornelissen Nov 19, 2020
7455994
Fix no shadow issues in fingerprints.ts
ericcornelissen Nov 19, 2020
483c94b
Fix no shadow issues in upload-lib.ts
ericcornelissen Nov 19, 2020
847f4ef
Run npm run build
ericcornelissen Nov 19, 2020
992a0cf
Merge branch 'main' into eslint-rule/no-shadow
ericcornelissen Nov 19, 2020
6a45994
Merge branch 'main' into simon-engledew/fast-fail
Nov 20, 2020
85ea24b
Fix typos in src
ericcornelissen Nov 20, 2020
512c07d
Fix typos in Action config files
ericcornelissen Nov 20, 2020
4e8634c
Remove duplicate statement in tracer-config test
ericcornelissen Nov 20, 2020
cf8c79c
Fix unused sorted value in update-release-branch
ericcornelissen Nov 20, 2020
5416d4f
Run npm run build
ericcornelissen Nov 20, 2020
31872f1
Merge pull request #308 from github/simon-engledew/fast-fail
Nov 20, 2020
35b0506
Run npm run build
ericcornelissen Nov 20, 2020
b03b9fe
Add a query to detect binary planting vulnerabilities.
chrisgavin Nov 20, 2020
a04d948
Merge branch 'main' into fix-minor-code-mistakes
chrisgavin Nov 20, 2020
fd36bec
Skip Runner integration tests on pull requests from forks.
chrisgavin Nov 20, 2020
0a05e95
Merge pull request #312 from ericcornelissen/fix-minor-code-mistakes
chrisgavin Nov 20, 2020
b59d204
Merge branch 'main' into skip-integration-tests-prs-from-forks
chrisgavin Nov 20, 2020
6d232b4
Merge pull request #314 from github/skip-integration-tests-prs-from-f…
chrisgavin Nov 20, 2020
7091b81
Merge branch 'main' into eslint-rule/no-shadow
chrisgavin Nov 20, 2020
82ba92f
Update spelling for autobuild to auto-built
ericcornelissen Nov 20, 2020
6ed5c82
Merge branch 'main' into fix-typos
ericcornelissen Nov 20, 2020
c5d599e
Merge pull request #310 from ericcornelissen/eslint-rule/no-shadow
chrisgavin Nov 20, 2020
6aaf048
Merge branch 'main' into fix-typos
ericcornelissen Nov 20, 2020
c4b7211
Merge pull request #311 from ericcornelissen/fix-typos
robertbrignull Nov 20, 2020
f5e028f
Merge branch 'main' into query-binary-planting
chrisgavin Nov 20, 2020
7589c05
Merge pull request #313 from github/query-binary-planting
chrisgavin Nov 20, 2020
b168eee
Make sure a Python 2 pip is installed
The-Compiler Nov 20, 2020
b15854c
Merge pull request #316 from The-Compiler/patch-1
Daverlo Nov 20, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
"no-async-foreach/no-async-foreach": "error",
"no-console": "off",
"no-sequences": "error",
"no-shadow": "off",
"@typescript-eslint/no-shadow": ["error"],
"one-var": ["error", "never"]
},
"overrides": [{
Expand All @@ -48,8 +50,7 @@
"@typescript-eslint/require-await": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"func-style": "off",
"github/no-then": "off",
"no-shadow": "off"
"github/no-then": "off"
}
}]
}
4 changes: 2 additions & 2 deletions .github/update-release-branch.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ def get_pr_for_commit(repo, commit):
if prs.totalCount > 0:
# In the case that there are multiple PRs, return the earliest one
prs = list(prs)
sorted(prs, key=lambda pr: int(pr.number))
return prs[0]
sorted_prs = sorted(prs, key=lambda pr: int(pr.number))
return sorted_prs[0]
else:
return None

Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/integration-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,37 @@ jobs:
env:
TEST_MODE: true

go-custom-tracing:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
env:
CODEQL_EXTRACTOR_GO_BUILD_TRACING: "on"

steps:
- uses: actions/setup-go@v2
if: ${{ matrix.os == 'macos-latest' }}
with:
go-version: '^1.13.1'
- uses: actions/checkout@v2
- name: Move codeql-action
shell: bash
run: |
mkdir ../action
mv * .github ../action/
mv ../action/tests/multi-language-repo/{*,.github} .
- uses: ./../action/init
with:
languages: go
- name: Build code
shell: bash
run: go build main.go
- uses: ./../action/analyze
env:
TEST_MODE: true

multi-language-repo_rubocop:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -435,6 +466,8 @@ jobs:
runner-upload-sarif:
runs-on: ubuntu-latest

if: ${{ github.event_name != 'pull_request' || github.event.pull_request.base.repo.id == github.event.pull_request.head.repo.id }}

steps:
- uses: actions/checkout@v2

Expand Down
2 changes: 1 addition & 1 deletion analyze/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ inputs:
description: The number of threads to be used by CodeQL.
required: false
checkout_path:
description: "The path at which the analyzed repository was checked out. Used to relativeize any absolute paths in the uploaded SARIF file."
description: "The path at which the analyzed repository was checked out. Used to relativize any absolute paths in the uploaded SARIF file."
required: false
default: ${{ github.workspace }}
token:
Expand Down
90 changes: 63 additions & 27 deletions lib/actions-util.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading