Repository navigation
chore(deps): bump the codeql-actions group with 3 updates - #14751
Conversation
Bumps the codeql-actions group with 3 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action). Updates `github/codeql-action/init` from 4.38.3 to 4.39.0 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@24c5418...6f2ac81) Updates `github/codeql-action/analyze` from 4.38.3 to 4.39.0 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@24c5418...6f2ac81) Updates `github/codeql-action/upload-sarif` from 4.38.3 to 4.39.0 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@24c5418...6f2ac81) --- updated-dependencies: - dependency-name: github/codeql-action/init dependency-version: 4.39.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codeql-actions - dependency-name: github/codeql-action/analyze dependency-version: 4.39.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codeql-actions - dependency-name: github/codeql-action/upload-sarif dependency-version: 4.39.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codeql-actions ... Signed-off-by: dependabot[bot] <[email protected]>
|
Recommendation: Merge, Confidence: High This is a grouped bump of Assessed at head commit
|
) ## Changes - `lib/gh.ts` gains `requiredReviews({ branch })`. It reads `rules/branches/{branch}` and returns the `pull_request` rules: the highest `required_approving_review_count`, and `codeOwner`, `threadResolution` and `lastPush`, each true when any rule sets it (ruling 10). A plan-limit 403 is "no rule". A rule with a field of the wrong type costs the whole read. The method never throws. `requiredContexts` and `pr-state` do not change. - `PULL_REQUEST_FIELDS` gains `reviews`, not `latestReviews` as ruling 3 named. gh answers `latestReviews` with `commit.oid: ""` on every review (read on cli/cli#14751 and #14750, gh 2.102.0). The last-push rule of ruling 10 needs the commit. The standing review of each author is the newest APPROVED, CHANGES_REQUESTED or DISMISSED review. A COMMENTED review does not take back an approval. - `shepherd.ts`: `approvalOf` gives `met`, `missing`, `not_required`, or `null` when the rules are unread and `reviewDecision` is empty (rulings 1, 2, 5). A last-push rule counts only an approval of `headRefOid` when the count decides. A `reviewDecision` of `APPROVED` is met first (rulings 2 and 13). `reviewDecision` `REVIEW_REQUIRED` is `missing` even when the count is met, because it is GitHub's own verdict. `threadsOf` gives `resolved`, `unresolved`, `not_required`, or `null`. `PullSummary` ends with `approval` and `threads`. - `shepherd-status` parses `--all` in any position, refuses any other flag (exit 2), and keeps "one label per run". It reads the rules once per base, and the unresolved threads (through `viewPullRequestDetail`) only for a pull request whose base asks. Without `--all`, a pull request with a blocker goes to `not_ready` as `{number, title, author, reasons}`, with "needs an approval" and "has unresolved review threads". A read that fails leaves nothing out: stderr names the branch or the pull request. - `shepherd-pr state` reads the rules of its base, and the threads when they are required, and reports `approval` and `threads`. The other actions read neither: `approval` rests on `reviewDecision`, and `threads` is `null`. - SKILL.md (`[label] [--all] [--dry-run]`, steps 2 to 5; step 4 counts the new skip reasons as causes), the `shepherd-prs` agent (step 1 skip, before any `rebase` or `wait`, run again after every `state` read; the hard-rule copy list gains `pr.approval` and `pr.threads`), the README, the three shepherd flows, both captures and `README-shepherd.md` ("What #465 changed"). `gh` plugin version is 0.13.0. ## Testing - `tests/lib/gh.test.ts`: `requiredReviews` path and encoding, this repository's real rule shape, two rules (highest count, any flag), no `pull_request` entry, plan limit, a non-list answer, a gh failure, and four malformed rules. Field pins carry `reviews`. - `tests/plugins/gh/shepherd.test.ts`: one case per verdict row, including last-push on the head and on an older commit, COMMENTED and DISMISSED after an approval, `threadsOf`, `autoMergeBases`, `threadReads`, and `statusDocument` with and without `--all`, both reasons, and each fallback. - `shepherd-status.test.ts`: rule 15 (a), (b), (c), (g), (h), (i), threads unresolved, resolved, not required, a failed thread read, a short page, and both reasons. The parity replay answers each base with no rule. - `shepherd-pr.actions.test.ts`: `state` reports `approval` and `threads` from the rules of its own base, last-push met and missing, threads read when asked, and the unavailable fallback. - `gh-docs.test.ts`: pins for the skill's `--all`, `not_ready` in the dry run and the report, step 4's causes, the agent's step 1 skip and its re-run after every `state` read, the copy list, and the skill flow edges. - Review round 1 added tests for two authors, a thread count with `unavailable`, the pull request number each thread read passes, `state` with a failed thread read, a single-dash flag, and `reviews` as an object. Each turned its mutant red. The guard sweep found the rest equivalent under the declared types. - Coverage: `shepherd.ts`, `shepherd-status.ts`, `shepherd-pr.ts` and the new `lib/gh.ts` code have no uncovered line or branch. - Real, read-only: `requiredReviews` on `main` gives `{approvals: 0, codeOwner: false, threadResolution: false, lastPush: false}`. `shepherd-status` and `shepherd-status --all` on this repository exit 0, with no auto-merge pull request open. `shepherd-pr 468 state` gives `approval: not_required`, `threads: not_required`. Closes #465
Bumps the codeql-actions group with 3 updates: github/codeql-action/init, github/codeql-action/analyze and github/codeql-action/upload-sarif.
Updates
github/codeql-action/initfrom 4.38.3 to 4.39.0Release notes
Sourced from github/codeql-action/init's releases.
Changelog
Sourced from github/codeql-action/init's changelog.
... (truncated)
Commits
6f2ac81Merge pull request #4239 from github/update-v4.39.0-d63383a73eb1c428Trigger workflows4443333Update changelog for v4.39.0d63383aMerge pull request #4233 from github/mbg/start-proxy/report-version8dec0b9Renamepathtoresultin tests4eabea6Merge remote-tracking branch 'origin/main' into mbg/start-proxy/report-version57938b8Merge pull request #4201 from github/mario-campos/automate-changenotes-assembleee07b50Merge pull request #4236 from github/mbg/add-missing-changenotesa897ed5Add change note for #4206c8bd019Add change note for #4198Updates
github/codeql-action/analyzefrom 4.38.3 to 4.39.0Release notes
Sourced from github/codeql-action/analyze's releases.
Changelog
Sourced from github/codeql-action/analyze's changelog.
... (truncated)
Commits
6f2ac81Merge pull request #4239 from github/update-v4.39.0-d63383a73eb1c428Trigger workflows4443333Update changelog for v4.39.0d63383aMerge pull request #4233 from github/mbg/start-proxy/report-version8dec0b9Renamepathtoresultin tests4eabea6Merge remote-tracking branch 'origin/main' into mbg/start-proxy/report-version57938b8Merge pull request #4201 from github/mario-campos/automate-changenotes-assembleee07b50Merge pull request #4236 from github/mbg/add-missing-changenotesa897ed5Add change note for #4206c8bd019Add change note for #4198Updates
github/codeql-action/upload-sariffrom 4.38.3 to 4.39.0Release notes
Sourced from github/codeql-action/upload-sarif's releases.
Changelog
Sourced from github/codeql-action/upload-sarif's changelog.
... (truncated)
Commits
6f2ac81Merge pull request #4239 from github/update-v4.39.0-d63383a73eb1c428Trigger workflows4443333Update changelog for v4.39.0d63383aMerge pull request #4233 from github/mbg/start-proxy/report-version8dec0b9Renamepathtoresultin tests4eabea6Merge remote-tracking branch 'origin/main' into mbg/start-proxy/report-version57938b8Merge pull request #4201 from github/mario-campos/automate-changenotes-assembleee07b50Merge pull request #4236 from github/mbg/add-missing-changenotesa897ed5Add change note for #4206c8bd019Add change note for #4198Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions