mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
Add workflow to regenerate required checks
Update contributing guide. Ensure this workflow runs once a week.
This commit is contained in:
@@ -80,9 +80,9 @@ Here are a few things you can do that will increase the likelihood of your pull
|
||||
|
||||
## Keeping the PR checks up to date (admin access required)
|
||||
|
||||
Since the `codeql-action` runs most of its testing through individual Actions workflows, there are over two hundred jobs that need to pass in order for a PR to turn green. Managing these PR checks manually is time consuming and complex. Here is a semi-automated approach.
|
||||
Since the `codeql-action` runs most of its testing through individual Actions workflows, there are over two hundred jobs that need to pass in order for a PR to turn green. You can regenerate the checks automatically by running the [Update required checks](.github/workflows/update-required-checks.yml) workflow.
|
||||
|
||||
To regenerate the PR jobs for the action:
|
||||
Or you can use this semi-automated approach:
|
||||
|
||||
1. In a terminal check out the `SHA` whose checks you want to use as the base. Typically, this will be `main`.
|
||||
2. From a terminal, run the following commands:
|
||||
|
||||
Reference in New Issue
Block a user