Andrew Eisenberg
e22a6cd3c9
Merge branch 'main' into aeisenberg/pr-check-names
2021-09-01 15:34:36 -07:00
Andrew Eisenberg
2ba7208ff2
Merge branch 'main' into aeisenberg/pr-check-names
2021-09-01 07:27:25 -07:00
Andrew Eisenberg
d1ff4d6297
Try the nightly build for packaging integration tests
2021-08-31 19:21:37 -07:00
Andrew Eisenberg
e833d6e84c
Update integration test pack versions
2021-08-26 15:59:11 -07:00
Andrew Eisenberg
1785bbb7d8
Add names to all pr-checks
2021-08-25 10:38:25 -07:00
Henry Mercer
a062fc9bf5
Merge branch 'main' into cli-version
2021-08-25 15:33:18 +01:00
Edoardo Pirovano
132e08a05f
Bump version of testing pack
2021-08-24 23:18:22 +01:00
Edoardo Pirovano
e70ec1d70e
Test against oldest supported version
2021-08-18 11:48:12 +01:00
Henry Mercer
bc33041cc2
Always run codeql (latest) job on PRs so we can make it required
2021-08-11 18:42:29 +01:00
Henry Mercer
c7203c94d9
Fix conditional in PR checks
2021-08-11 18:27:35 +01:00
Henry Mercer
b19f1f91f0
Reduce the number of PR checks that are run on push
...
If we're running on push, then we can reintroduce the logic that skips
running with `tools: latest` when it would be the same as running with
`tools: null`.
2021-08-11 17:27:26 +01:00
Henry Mercer
743d8dfb6e
Always run the latest tools PR checks so we can make them required
2021-08-11 13:01:33 +01:00
Andrew Eisenberg
21753283b1
Updates the permissions block to be minimal
...
And adds a permissions block to the README.
2021-08-09 13:30:16 -07:00
Aditya Sharad
53cfc95284
Add PR check job for Ruby beta
...
Add a separate job that analyses the multilanguage test repo's Ruby code.
For now, run this only with the latest released CodeQL build from defaults.json.
The cached builds and nightly builds don't support Ruby yet.
In future, we can update this and other PR checks to test a wider range of cases.
2021-08-09 08:42:02 -07:00
Henry Mercer
2632b65a56
Add ready_for_review type to pull_request trigger types
...
This runs checks on reopened draft PRs to support triggering PR checks
on draft PRs that were opened by other workflows.
2021-08-03 19:29:42 +01:00
Henry Mercer
7eb261eac8
Create PRs as drafts to prompt maintainers to trigger PR checks
...
PR checks won't be triggered on PRs created by Actions workflows.
Therefore mark PRs created by workflows as draft to prompt maintainers
to take the PR out of draft, thereby triggering PR checks.
2021-08-03 18:21:41 +01:00
Edoardo Pirovano
05a53bbd2d
Update lockfile in mergeback
2021-07-27 12:37:20 +01:00
Edoardo Pirovano
554f1b3765
Address further PR comment
2021-07-26 15:19:47 +01:00
Edoardo Pirovano
934fb86c58
Address PR comments from @robertbrignull
2021-07-26 14:47:03 +01:00
Edoardo Pirovano
e145aa414e
Enable dependabot automatic updates
2021-07-26 11:14:19 +01:00
Mario Campos
06c6845442
Add analyze step to 'source-root' input test case
...
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com >
2021-07-02 14:50:52 -05:00
Mario Campos
b9217ca238
Test presence of database instead of results of analysis
...
This is for PR #607 , 'source-root' input test case.
2021-07-02 08:07:06 -05:00
Mario Campos
2c0da4bcc7
Remove build.sh step from 'source-root' test
...
As this test is using only JS, it's not necessary to compile or analyze the other languages.
2021-07-01 18:43:10 -05:00
Mario Campos
12f1cff212
Rename CodeQL action paths in 'source-root' test to reflect repo paths
2021-07-01 18:39:37 -05:00
Mario Campos
2ca807cf16
Merge branch 'source-root-input' of github.com:mario-campos/codeql-action into source-root-input
2021-07-01 18:37:07 -05:00
Mario Campos
1c69fae407
Avoid moving repo files out of \$GITHUB_WORKSPACE in 'source-root' test
...
Moving the files into ../action was causing the job to fail because it couldn't find the test directory anymore. According to @adityasharad, these 'mv's should
not be necessary. Removing these means changing the path to the actions.
I'm also removing the 'config-file' input to keep the test minimal. I think this will mean that CodeQL will use the default query suite, so I hope that this doesn't change the results.
2021-07-01 18:34:34 -05:00
Mario Campos
67d6f7929f
Delete 'packaing' from source-root test job name
...
The test is not related to packaging.
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com >
2021-07-01 18:31:50 -05:00
Mario Campos
028f98f5ea
Use different config file for testing 'source-root' input
...
This config file 'ought to have some queries good for testing!
2021-07-01 16:12:15 -05:00
Mario Campos
c78fb87659
Add test case for 'source-root' input to 'init' Action
2021-07-01 15:26:04 -05:00
Andrew Eisenberg
0792832682
Remove a TODO and use defautl tools option
2021-06-30 12:43:20 -07:00
Edoardo Pirovano
d9050f49a3
Merge branch 'main' into local-bundle
2021-06-28 23:53:41 +01:00
Edoardo Pirovano
a7dac5c3db
Address PR comment.
2021-06-28 23:52:53 +01:00
Edoardo Pirovano
93214eca2e
Merge branch 'main' into split-create-analysis
2021-06-28 18:25:01 +01:00
Edoardo Pirovano
8f4c2c76ad
Allow local instead of downloaded CodeQL
2021-06-28 18:11:13 +01:00
Edoardo Pirovano
954700187b
Run tests against nightly CLI bundles
2021-06-28 17:47:10 +01:00
Andrew Eisenberg
a6891153f0
Allow to be run on workflow_dispatch
2021-06-28 09:17:32 -07:00
Edoardo Pirovano
ef852c006a
Support splitting of DB creation and query execution
2021-06-28 17:14:22 +01:00
Andrew Eisenberg
4087f37d90
Add extra integration test for packaging
...
Also, update the options and inputs documentation.
2021-06-25 10:07:51 -07:00
Andrew Eisenberg
6e577cfca3
Add new packs input to init action
...
This input allows users to specify which packs to run. It works in
unison with the packs block of the config file and it is similar to
how `queries` works. They both use `+` in the same way.
Note that the `#TODO` in the pr check is still around, but the CLI
is available. I will remove the TODO in the next commit.
2021-06-23 16:08:35 -07:00
Andrew Eisenberg
629f582c03
Update changelog template
...
The changelog for an empty version will now be:
```
No user facing changes.
```
And this will appear in the final changelog when there is an actual release.
The benefits are that users will see regular release cycles and know
how old versions are even if there's no changes for a particular version
If we find that we are going months without any user facing changes, but
we have non-visible changes, then we can rethink this strategy.
But I think this is nicer than having empty sections for a version.
2021-06-22 14:25:06 -07:00
Andrew Eisenberg
efea9238bc
Fix custom version of CLI to use for package testing
...
This can be removed when 2.5.6 is released.
2021-06-16 14:56:52 -07:00
Andrew Eisenberg
6a1c0700c3
Avoid running mergeback workflow on PR
...
This was causing the workflow to run and create tags after merging
main into a branch.
2021-06-09 14:38:09 -07:00
Andrew Eisenberg
a2e96a4c78
Add pack download to its own log group
...
Also, make the baseline count message less awkward sounding.
2021-06-09 14:13:05 -07:00
Andrew Eisenberg
db01c78de0
Remove unneeded action input in PR check
2021-06-09 13:10:57 -07:00
Andrew Eisenberg
82388fd94a
Merge remote-tracking branch 'upstream/main' into aeisenberg/pack-run
2021-06-09 12:43:17 -07:00
Andrew Eisenberg
d42f654f7a
Add an integration test for packaging
...
Uses two pre-existing packages to run some simple queries on a javascript
database.
2021-06-08 12:34:07 -07:00
Andrew Eisenberg
74764ac0eb
Remove quotes around $DRAFT argument
...
gh will complain if there is an empty `""`, which is the case if
`$DRAFT` is unset.
2021-06-07 13:53:47 -07:00
Edoardo Pirovano
ddb83a462d
Cleanup CodeQL DBs and output their location for later steps
2021-06-04 18:54:15 +01:00
Edoardo Pirovano
0cbd4b56d3
Add some dependencies for uploading artifacts
2021-06-02 10:32:48 +01:00
Andrew Eisenberg
f0e82b7d63
1.0.1
2021-05-31 10:56:52 -07:00