Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
20567b5
Introduce parameter object for API params that travel together
sampart Nov 23, 2020
7eb9dfc
Add a function that can lint a CodeQL action workflow
Nov 23, 2020
33bb875
Write a warning if there is an error with the workflow
Nov 24, 2020
c0bd7b0
Handle relative workflow paths
Nov 24, 2020
754f502
Workflow triggers are null if unspecified
Nov 24, 2020
6df1fc5
Do not fail if the workflow has been deleted
Nov 24, 2020
ab9b1a7
Fix tests
sampart Nov 24, 2020
3ee4739
Make anonymous objects into variables for readability
sampart Nov 24, 2020
27520b9
Merge pull request #318 from github/api-param-object
sampart Nov 24, 2020
2ac22e8
Send short codes that do not need URL encoding for better splunk tracing
Nov 24, 2020
fd16298
Revert an accidental change to make testing quicker
Nov 24, 2020
1020df5
Merge branch 'main' into simon-engledew/lint-workspace
Nov 24, 2020
92ffb08
Tidy up ready for review
Nov 24, 2020
cb3b3a8
Comment the lint cases to make maintaining easier
Nov 25, 2020
c06dcf8
Update source
Nov 25, 2020
8d468d6
Improve linting hints
Nov 25, 2020
582f792
Fix deprecated method Buffer.new
Nov 25, 2020
85aefe5
Signpost the latest documentation in the warning
Nov 25, 2020
94b10db
See if markdown is supported
Nov 25, 2020
c5f58f3
Markdown is not supported - roll back and fix typo
Nov 25, 2020
253d46a
Better copy for PathsSpecified, suggested by @sampart
Nov 25, 2020
eed3141
Add paths-ignore case
Nov 25, 2020
378f1f9
Merge pull request #320 from github/simon-engledew/fix-DEP0005-buffer
Nov 25, 2020
35fd0a9
Update ESLint configuration
ericcornelissen Nov 25, 2020
cd72793
Update source so github/no-then passes
ericcornelissen Nov 25, 2020
e6ea8cb
Run npm run build
ericcornelissen Nov 25, 2020
7d74882
Merge pull request #321 from ericcornelissen/eslint/github-no-then
robertbrignull Nov 26, 2020
be09fb3
Implement feedback
Nov 26, 2020
92df387
Merge branch 'main' into simon-engledew/lint-workspace
Nov 26, 2020
8d18e34
Merge pull request #319 from github/simon-engledew/lint-workspace
Nov 26, 2020
7174a81
test Go autobuild
robertbrignull Nov 27, 2020
0c33f01
Update the default bundle to `codeql-bundle-20201127`.
chrisgavin Nov 27, 2020
38ed964
Only analyze PRs against main and v1
rneatherway Nov 27, 2020
d73e5ce
Merge pull request #327 from github/rneatherway-patch-1
rneatherway Nov 30, 2020
1110f7b
Merge branch 'main' into update-bundle
chrisgavin Nov 30, 2020
90e7805
Merge pull request #325 from github/update-bundle
chrisgavin Nov 30, 2020
b1fd753
Update .github/workflows/integration-testing.yml
robertbrignull Nov 30, 2020
32878b7
Merge branch 'main' into robertbrignull/go_autobuild
robertbrignull Nov 30, 2020
c6dbd5a
Merge pull request #324 from github/robertbrignull/go_autobuild
robertbrignull Nov 30, 2020
fb2a3bf
Add a check to ensure expected CodeQL release files exist.
chrisgavin Dec 1, 2020
f65e6c4
Merge pull request #330 from github/check-files-on-release
chrisgavin Dec 1, 2020
8e0e34a
Add an explicit deprecation date
rneatherway Nov 27, 2020
1010b1f
Merge branch 'main' into rneatherway/on-push-notice
rneatherway Dec 1, 2020
e6174fc
Merge pull request #326 from github/rneatherway/on-push-notice
rneatherway Dec 1, 2020
ac1c081
Handle the case where branches may be strings, including "*"
Dec 1, 2020
c8ee1f4
Handle wildcard branches
Dec 1, 2020
1471943
Add more test cases
Dec 1, 2020
145a3c1
Add more wildcard examples
Dec 1, 2020
f99af1c
Have a catch all coded error for lint failures
Dec 1, 2020
b1be00d
Test the branch patterns work both ways
Dec 1, 2020
56b1ead
Do not show lint failed in the UX if it happens
Dec 1, 2020
4d86261
First iteration on feedback
Dec 1, 2020
698e2a5
Just convert the pattern into a RegExp...
Dec 1, 2020
78b9d23
Remove unecessary if statement
Dec 2, 2020
ec8015b
Merge branch 'main' into simon-engledew/string-branches
Dec 2, 2020
107fe84
Add advanced test case
Dec 2, 2020
f3c9aee
Hide an warning that is confusing on GHES
Dec 1, 2020
7310a50
Merge pull request #335 from github/simon-engledew/backport-v1
Dec 2, 2020
7100f22
Add a bunch of tests cases and harden the function aganst malformed w…
Dec 3, 2020
1dc40ba
Merge remote-tracking branch 'origin/main' into simon-engledew/string…
Dec 4, 2020
18c6a7d
fix another edge case
Dec 4, 2020
a43ce96
Merge pull request #332 from github/simon-engledew/string-branches
Dec 4, 2020
e9152c3
Merge remote-tracking branch 'origin/v1' into robertbrignull/merge-v1
robertbrignull Dec 4, 2020
494945f
Merge pull request #337 from github/robertbrignull/merge-v1
robertbrignull Dec 4, 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
3 changes: 1 addition & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@
"@typescript-eslint/prefer-regexp-exec": "off",
"@typescript-eslint/require-await": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"func-style": "off",
"github/no-then": "off"
"func-style": "off"
}
}]
}
22 changes: 22 additions & 0 deletions .github/workflows/check-expected-release-files.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Check Expected Release Files

on:
pull_request:
paths:
- .github/workflows/check-expected-release-files.yml
- src/defaults.json

jobs:
check-expected-release-files:
runs-on: ubuntu-latest

steps:
- name: Checkout CodeQL Action
uses: actions/checkout@v2
- name: Check Expected Release Files
run: |
bundle_version="$(cat "./src/defaults.json" | jq -r ".bundleVersion")"
set -x
for expected_file in "codeql-bundle.tar.gz" "codeql-bundle-linux64.tar.gz" "codeql-bundle-osx64.tar.gz" "codeql-bundle-win64.tar.gz" "codeql-runner-linux" "codeql-runner-macos" "codeql-runner-win.exe"; do
curl --location --fail --head --request GET "https://github.com/github/codeql-action/releases/download/$bundle_version/$expected_file" > /dev/null
done
1 change: 1 addition & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches: [main, v1]
pull_request:
branches: [main, v1]

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

go-custom-tracing-autobuild:
# No need to test Go autobuild on multiple OSes since
# we're testing Go custom tracing with a manual build on all OSes.
runs-on: ubuntu-latest
env:
CODEQL_EXTRACTOR_GO_BUILD_TRACING: "on"

steps:
- 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
- uses: ./../action/autobuild
- uses: ./../action/analyze
env:
TEST_MODE: true

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

Expand Down
207 changes: 207 additions & 0 deletions lib/actions-util.js

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

2 changes: 1 addition & 1 deletion lib/actions-util.js.map

Large diffs are not rendered by default.

Loading