Commit Graph

10643 Commits

Author SHA1 Message Date
Mario Campos
1304cc4df1 Potential fix for pull request finding 'CodeQL / Missing space in string concatenation'
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-10-29 11:37:40 -05:00
Mario Campos
94f0998581 Avoid creating resolved comments without an existing warning
Use a boolean --create-if-missing flag, supplied by the composite action by default and omitted for resolution updates.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-10-29 11:32:57 -05:00
Mario Campos
e9651489af Avoid non-null assertion operators by asserting arguments 2026-10-29 10:44:10 -05:00
Mario Campos
9359b6b571 Wrap --marker argument in HTML comment tags automatically 2026-10-29 10:34:12 -05:00
Mario Campos
19e1ab5452 Update pr-checks/post-comment.ts description comment 2026-10-29 10:28:26 -05:00
Mario Campos
f13bcf383f Warn if more than one marked comment was found 2026-10-29 10:20:21 -05:00
Mario Campos
5bb3554330 Make input-validation assertions more granular 2026-10-29 10:13:06 -05:00
Mario Campos
87cac24cdd Avoid sparse checkout
This codebase is a tad coupled; it could end up biting us.
2026-10-29 10:03:32 -05:00
Mario Campos
2902eeab4d Checkout main instead of PR's base for the post-pr-comments job 2026-10-29 10:01:27 -05:00
Mario Campos
56fa196def Use YAML multiline string for the Action's inputs' descriptions 2026-10-29 09:58:48 -05:00
Mario Campos
3fb676f638 Use existing RepositoryNwo type 2026-10-29 09:56:18 -05:00
Mario Campos
afaf324646 Move resolveToken to pr-checks/api-client.ts 2026-10-29 09:51:48 -05:00
Mario Campos
c069d49e81 Test sticky comments using observable state
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-10-28 16:46:41 -05:00
Mario Campos
36f220a96c Remove unused post-comment step IDs
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-10-28 16:08:22 -05:00
Mario Campos
03137fc68d Rename changelog outputs to modified
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-10-28 16:06:08 -05:00
Mario Campos
94488778fd Simplify post-comment to a single set-comment mode
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-10-28 16:00:37 -05:00
Mario Campos
ae23865548 Move comment branching into workflow steps
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-10-28 15:53:36 -05:00
Mario Campos
90d1bc983c Remove bespoke post-comment argument validation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-10-28 15:39:43 -05:00
Mario Campos
ae9f97bade Make post-comment marker configurable
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-10-28 15:30:49 -05:00
Mario Campos
e7dadca872 Refactor comment handling logic into performAction for improved testability 2026-10-09 17:35:09 -05:00
Mario Campos
f1419b8c76 Reject empty --marker 2026-10-09 17:11:18 -05:00
Mario Campos
3c452a182d Use HTTP link to unreleased-change-notes/README.md
Update link in PR checks workflow to point to the correct README.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-10-09 10:36:48 -05:00
Mario Campos
4d464b0697 Improve issue ID parsing and validation logic
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-10-09 10:35:34 -05:00
Mario Campos
14cefaa03c Replace bash/run step with local Action post-comment 2026-10-08 23:03:55 -05:00
Mario Campos
8c8b0827d5 Add script and Action for managing PR comments 2026-10-08 23:02:25 -05:00
Mario Campos
9fe741e77d Simplify if condition of CHANGELOG-comment-post step 2026-10-08 15:26:56 -05:00
Mario Campos
27d37d97e2 Format all file references as inline Markdown code spans
Co-authored-by: Michael B. Gale <mbg@github.com>
2026-10-08 15:19:38 -05:00
Mario Campos
0707124ab8 Delete CHANGELOG.md-modification comment if CHANGELOG.md no longer modified 2026-10-08 13:11:34 -05:00
Mario Campos
928548a094 Refine exclusion conditions for CHANGELOG-modification comment
Refactor conditions for PR title checks in workflow.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-10-08 12:57:52 -05:00
Mario Campos
ccdf69089a Escape backticks PR comment body
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-10-08 12:55:10 -05:00
Mario Campos
d97a656f70 Update CHANGELOG.md warning message to reference change-notes directory 2026-10-08 12:41:52 -05:00
Mario Campos
6e4d3fb63d Use a sticky comment to warn about CHANGELOG.md changes 2026-10-08 12:31:10 -05:00
Mario Campos
ae75d466ce Exclude "Mergeback" and "Update default bundle" PRs from CHANGELOG.md change warning 2026-10-08 12:11:29 -05:00
Mario Campos
780e947861 Skip CHANGELOG.md modification warning for release and backport PRs 2026-10-08 11:48:09 -05:00
Mario Campos
f7aa9dc1ba Move post-comment step to post-pr-comments job 2026-10-08 11:40:38 -05:00
Mario Campos
43ac64c267 Use gh api instead of third-party Action 2026-10-08 11:16:19 -05:00
Mario Campos
fbd33ac6fc Gate comment-post step on successful fetch-base 2026-10-08 10:50:34 -05:00
Mario Campos
b2b77a81a2 Add CHANGELOG.md modification check and warning comment 2026-10-08 10:47:46 -05:00
Mads Navntoft
5aa5056e2d Merge pull request #4215 from github/mergeback/v4.38.3-to-main-24c54180
Mergeback v4.38.3 refs/heads/releases/v4 into main
2026-10-08 13:58:42 +00:00
github-actions[bot]
ea60dc6408 Rebuild 2026-10-08 13:01:10 +00:00
github-actions[bot]
ce3f825b1d Update changelog and version after v4.38.3 2026-10-08 13:01:02 +00:00
Mads Navntoft
24c54180a6 Merge pull request #4214 from github/update-v4.38.3-e0b52dbdc
Merge main into releases/v4
v4.38.3
2026-10-08 14:59:30 +02:00
Henry Mercer
69e87c56c1 Add changelog note for #4184 2026-10-08 13:42:32 +01:00
github-actions[bot]
23b682830b Update changelog for v4.38.3 2026-10-08 12:02:08 +00:00
Henry Mercer
e0b52dbdc5 Merge pull request #4210 from github/henrymercer/pin-python-for-older-clis-in-ci
Pin Python 3.13.15 for older CLI versions in the multi-language check
2026-10-07 18:12:41 +00:00
Henry Mercer
6b99698c8c Pin Python 3.13.15 for older CLI versions in multi-language check
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-10-07 18:58:17 +01:00
Mads Navntoft
63d3d632fc Merge pull request #4203 from github/update-bundle/codeql-bundle-v2.27.2
Update default bundle to 2.27.2
2026-10-07 10:00:42 +00:00
github-actions[bot]
7377a10091 Add changelog note 2026-10-07 09:39:57 +00:00
github-actions[bot]
c1a30cda11 Update default bundle to codeql-bundle-v2.27.2 2026-10-07 09:39:50 +00:00
Michael B. Gale
d208ec71e3 Merge pull request #4200 from github/mbg/esm/migrate-pr-checks
Fully migrate `pr-checks` to ESM
codeql-bundle-v2.27.2
2026-10-06 19:24:52 +00:00