Commit Graph

46 Commits

Author SHA1 Message Date
Henry Mercer fc8d71f801 Add reminder to CONTRIBUTING.md 2025-01-15 14:12:58 +00:00
Andrew Eisenberg a082142a01 Merge branch 'main' into add-period-to-sentence 2025-01-13 09:21:14 -08:00
Josiah Altschuler c0addecf24 Add period to end of sentence 2025-01-10 21:37:36 -06:00
Josiah Altschuler a477602004 Change 'an' to 'a' 2025-01-10 20:20:12 -06:00
Angela P Wen 66f5682768 Add section on adding a new major version 2025-01-07 14:50:25 -08:00
Angela P Wen 913d60579d Remove mentions to v2 in documentation 2025-01-07 14:00:12 -08:00
Andrew Eisenberg e50fb8fff0 Add a compatibility table to the README
Specifies the versions of the action, CLI and GHES that are jointly compatible.
2024-05-07 13:58:01 -07:00
Angela P Wen 2ddf87a698 Update release documentation with v3 instructions 2024-02-15 09:04:33 -08:00
nickfyson 9ed5fc7131 add note about backporting check changes to v2 branch 2023-12-20 20:00:52 +00:00
nickfyson a42c9a2634 update required checks script to handle release branches 2023-12-20 17:23:05 +00:00
Nick Fyson 3537bea580 Apply suggestions from code review
Co-authored-by: Henry Mercer <henry.mercer@me.com>
2023-12-06 11:40:07 +00:00
nickfyson 2dbffae187 add note in CONTRIBUTING.md on how to deprecate an action version 2023-12-04 22:15:47 +00:00
nickfyson b7f289ef4d update release process to support multiple version 2023-12-04 14:28:55 +00:00
Henry Mercer 1d70a98580 Document CodeQL deprecation process 2023-09-27 19:10:31 +01:00
Henry Mercer 8d7f61b8f2 Update npm version 2023-05-25 17:06:08 +01:00
Henry Mercer 50bc388cfc Update Node version 2023-05-25 17:04:40 +01:00
Angela P Wen 89c5165e5a Remove v1 from release docs (#1536) 2023-02-10 12:40:45 -08:00
Henry Mercer 51abddb49b Delete the runner 2022-11-14 16:23:14 +00:00
Andrew Eisenberg d468c94a69 Update contributing.md
Change the text for keeping the checks up to date.
2022-05-10 09:55:27 -07:00
Andrew Eisenberg b71f20d70f Add workflow to regenerate required checks
Update contributing guide.
Ensure this workflow runs once a week.
2022-05-02 10:15:40 -07:00
Andrew Eisenberg c9882bef2d Update CONTRIBUTING.md 2022-05-02 08:58:10 -07:00
Andrew Eisenberg 9a6bf18ec4 Update CONTRIBUTING.md
Clarify instructions for updating required checks
2022-05-02 08:29:30 -07:00
Henry Mercer 9daf1de73c Update references to release branches
Prepare for renaming `v1` -> `releases/v1` and `v2` -> `releases/v2`.
2022-04-14 17:48:46 +01:00
Henry Mercer 044f112dc1 Update branch protection instructions 2022-03-25 15:24:54 +00:00
Henry Mercer da7944b165 Update release process doc 2022-03-24 18:18:45 +00:00
Andrew Eisenberg 8ecc1fcbc4 Ignore "Update Supported Enterprise Server Versions" 2022-03-11 09:38:08 -08:00
Andrew Eisenberg 04d521d705 Avoid using sed, use --slurp instead 2022-03-09 11:07:16 -08:00
Andrew Eisenberg 111428ce06 Add some instructions on how to regenerate required checks 2022-03-08 10:19:32 -08:00
Henry Mercer 4e477f1b95 Add more details on the workflows involved in the release process 2021-08-11 18:11:25 +01:00
Henry Mercer a068a286e6 Add brief instructions on creating a release 2021-08-11 17:50:47 +01:00
Andrew Eisenberg 082575fbc3 Merge branch 'main' into aeisenberg/env-vars 2021-06-02 11:40:40 -07:00
Andrew Eisenberg 2c2ebdc5c5 Remove local environment running
This is a functionality that never worked perfectly and hasn't been
used for a while.

This allows developers to run the action on their local machine, but
the run was always flaky and never 100% mirrored what was happening on
the actions runner.
2021-06-02 11:26:11 -07:00
Edoardo Pirovano 0cbd4b56d3 Add some dependencies for uploading artifacts 2021-06-02 10:32:48 +01:00
Andrew Eisenberg a9cdff830d Remove confusing words
Co-authored-by: Robert <robertbrignull@github.com>
2021-05-10 10:25:31 -07:00
Andrew Eisenberg 793b3772ec Fix information about npm ci 2021-05-10 10:05:30 -07:00
Andrew Eisenberg 3280a85376 Update contributing guide
This adds a section on checking in compiled artifacts.
2021-05-10 09:04:59 -07:00
Simon Engledew 5c0e2f93f1 Fix invalid API call when running locally
The method getAnalysisKey would call getWorkflowPath and raise an API Error.

This change follows the pattern in prepareLocalRunEnvironment to set a dummy value for the required environment variable, therefore shortcutting the API request.
2020-11-04 09:58:09 +00:00
Robert Brignull 09677dada5 rename CLI to runner 2020-08-25 17:44:30 +01:00
Robert Brignull 88d9e95da6 add minimal instructions for building CLI 2020-08-24 14:04:29 +01:00
Andrew Eisenberg 42235cc048 Allow the codeql-action to be run locally (#117)
* Allow the codeql-action to be run locally

This change allows the codeql-action to be run locally through
[act](https://github.com/nektos/act).

In order to run the action locally, you need to do two things:

1. Add the `CODEQL_LOCAL_RUN: true` environment variable. The only way
   I could figure out how to do this was to add it directly in the
   workflow file in an `env` block. It _should_ be possible to add it
   through a `.env` file and pass it to `act`, but I couldn't get it
   working.
2. Run this command `act -j codeql -s GITHUB_TOKEN=<MY_PAT>`

Setting the `CODEQL_LOCAL_RUN` env var will fill in missing env vars
that the action needs, but isn't set by `act`. It will also avoid
making api calls to github that would fail locally.

This is a refactoring discussed in
https://github.com/github/dsp-codeql/issues/36
2020-08-04 14:35:20 -07:00
Andrew Eisenberg 93dd64d351 Use templated strings for better readability 2020-07-24 08:29:04 -07:00
Sam Partington 7a78ec0a54 Add support for debugging from VSCode
https://github.com/avajs/ava/blob/master/docs/recipes/debugging-with-vscode.md recommends passing the `debug` option to Ava.  However, in my experience Ava waits indefinitely when this option is used, without actually running any tests.

The increased timeout setting is so that tests won't fail prematurely because you're slowly stepping through code.
2020-07-14 09:49:21 +01:00
Sam Partington a0bf50cb7b Add details of who will merge (CONTRIBUTING.md) 2020-07-02 13:35:29 +01:00
Sam Partington dfed1f7eea Point people at init/action.yml for node version
https://github.com/github/codeql-action/pull/94#discussion_r448502825
2020-07-02 10:55:00 +01:00
Sam Partington 580e603e94 Add development instructions to CONTRIBUTING.md 2020-07-01 14:32:04 +01:00
anaarmas 28ccc3db2d Initial commit (from f5274cbdce4ae7c9e4b937dcdf95ac70ae436d5f) 2020-04-28 17:23:37 +02:00