Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
b2b77a8
Add CHANGELOG.md modification check and warning comment
mario-campos Oct 8, 2026
fbd33ac
Gate comment-post step on successful fetch-base
mario-campos Oct 8, 2026
43ac64c
Use `gh api` instead of third-party Action
mario-campos Oct 8, 2026
f7aa9dc
Move post-comment step to `post-pr-comments` job
mario-campos Oct 8, 2026
780e947
Skip CHANGELOG.md modification warning for release and backport PRs
mario-campos Oct 8, 2026
ae75d46
Exclude "Mergeback" and "Update default bundle" PRs from CHANGELOG.md…
mario-campos Oct 8, 2026
6e4d3fb
Use a sticky comment to warn about CHANGELOG.md changes
mario-campos Oct 8, 2026
d97a656
Update CHANGELOG.md warning message to reference change-notes directory
mario-campos Oct 8, 2026
ccdf690
Escape backticks PR comment body
mario-campos Oct 8, 2026
928548a
Refine exclusion conditions for CHANGELOG-modification comment
mario-campos Oct 8, 2026
0707124
Delete CHANGELOG.md-modification comment if CHANGELOG.md no longer mo…
mario-campos Oct 8, 2026
27d37d9
Format all file references as inline Markdown code spans
mario-campos Oct 8, 2026
9fe741e
Simplify `if` condition of CHANGELOG-comment-post step
mario-campos Oct 8, 2026
8c8b082
Add script and Action for managing PR comments
mario-campos Oct 9, 2026
14cefaa
Replace bash/run step with local Action `post-comment`
mario-campos Oct 9, 2026
4d464b0
Improve issue ID parsing and validation logic
mario-campos Oct 9, 2026
3c452a1
Use HTTP link to `unreleased-change-notes/README.md`
mario-campos Oct 9, 2026
f1419b8
Reject empty `--marker`
mario-campos Oct 9, 2026
e7dadca
Refactor comment handling logic into `performAction` for improved tes…
mario-campos Oct 9, 2026
ae9f97b
Make post-comment marker configurable
mario-campos Oct 28, 2026
90d1bc9
Remove bespoke post-comment argument validation
mario-campos Oct 28, 2026
ae23865
Move comment branching into workflow steps
mario-campos Oct 28, 2026
9448877
Simplify post-comment to a single set-comment mode
mario-campos Oct 28, 2026
03137fc
Rename changelog outputs to modified
mario-campos Oct 28, 2026
36f220a
Remove unused post-comment step IDs
mario-campos Oct 28, 2026
c069d49
Test sticky comments using observable state
mario-campos Oct 28, 2026
afaf324
Move `resolveToken` to `pr-checks/api-client.ts`
mario-campos Oct 29, 2026
3fb676f
Use existing `RepositoryNwo` type
mario-campos Oct 29, 2026
56fa196
Use YAML multiline string for the Action's inputs' descriptions
mario-campos Oct 29, 2026
2902eea
Checkout `main` instead of PR's base for the `post-pr-comments` job
mario-campos Oct 29, 2026
87cac24
Avoid sparse checkout
mario-campos Oct 29, 2026
5bb3554
Make input-validation assertions more granular
mario-campos Oct 29, 2026
f13bcf3
Warn if more than one marked comment was found
mario-campos Oct 29, 2026
19e1ab5
Update `pr-checks/post-comment.ts` description comment
mario-campos Oct 29, 2026
9359b6b
Wrap `--marker` argument in HTML comment tags automatically
mario-campos Oct 29, 2026
e965148
Avoid non-null assertion operators by asserting arguments
mario-campos Oct 29, 2026
94f0998
Avoid creating resolved comments without an existing warning
mario-campos Oct 29, 2026
1304cc4
Potential fix for pull request finding 'CodeQL / Missing space in str…
mario-campos Oct 29, 2026
68a9dcb
Prefer `== true` over `!= false`
mario-campos Oct 30, 2026
1a18e90
Merge branch 'main' into mario-campos/warn-on-changelog-write
mario-campos Oct 30, 2026
a587867
Update `actions/setup-node` action to version 7.1.0
mario-campos Oct 30, 2026
0bc39f9
Prefer last comment when there are multiple to choose from
mario-campos Oct 30, 2026
b25bc2e
Change `RepositoryNwo` import to `type`
mario-campos Oct 30, 2026
8ba2b06
Use `parseRepositoryNwo` instead of splitting manually
mario-campos Oct 30, 2026
eec6442
Make precedence explicit with parens
mario-campos Oct 30, 2026
97a381d
Split long line
mario-campos Oct 30, 2026
9de5eac
Make error a bit clearer and more actionable
mario-campos Oct 30, 2026
d715939
Replace `--create-if-missing` to `--update-only`
mario-campos Oct 30, 2026
4094755
Polish `post-comment.ts` usage comment
mario-campos Nov 2, 2026
9d1378f
Use new `case` expression for evaluating conditional `--update-only` …
mario-campos Nov 2, 2026
05870b6
Defer workflow activation to a follow-up PR
mario-campos Nov 3, 2026
29ddace
Move `Feature` enum to a separate file
mbg Nov 4, 2026
e7ce43a
Log how long deleting each CodeQL version from the toolcache takes
henrymercer Nov 3, 2026
e70c041
Record how long the toolcache cleanup takes in telemetry
henrymercer Nov 4, 2026
8aab3d8
Merge pull request #4298 from github/mbg/decouple-features-enum
mbg Nov 4, 2026
8e42d38
Update changelog and version after v4.39.3
github-actions[bot] Nov 4, 2026
d11b224
Rebuild
github-actions[bot] Nov 4, 2026
0911ee9
Merge pull request #4303 from github/mergeback/v4.39.3-to-main-33d7b85d
sam-robson Nov 4, 2026
d2a785c
Remove `macos-14-xlarge` from `codeql` workflow
henrymercer Nov 6, 2026
822e91c
Exclude Notify from required checks
henrymercer Nov 6, 2026
e4ce43d
Merge pull request #4309 from github/henrymercer/replace-macos-14-xla…
henrymercer Nov 9, 2026
ce8b560
Merge pull request #4302 from github/henrymercer/toolcache-cleanup-du…
henrymercer Nov 9, 2026
fbfa9f3
Merge pull request #4311 from github/henrymercer/exclude-notify-from-…
mbg Nov 9, 2026
9d4eb28
Rename `linux-arm64` PR check to `runner-images`
henrymercer Nov 9, 2026
02e8a5d
Run `runner-images` check on the GitHub-hosted runner images with `li…
henrymercer Nov 9, 2026
3a7f564
Rerun failed `runner-images` jobs in the Deflake workflow
henrymercer Nov 9, 2026
b5a3632
Run `analyze-javascript` only on `ubuntu-26.04`
henrymercer Nov 9, 2026
97d0cc0
Only run `analyze-javascript` with the default CodeQL bundle
henrymercer Nov 9, 2026
cfb3940
Respect `use-all-platform-bundle` for the latest nightly in `prepare-…
henrymercer Nov 9, 2026
91bae3a
Check that the `all-platform-bundle` PR check uses an all-platform bu…
henrymercer Nov 9, 2026
4e3aa41
Remove the `CodeQL Bundle All` PR check, which duplicates `all-platfo…
henrymercer Nov 9, 2026
a6827a3
Merge `analyze-javascript` and `analyze-other` into one matrixed job
henrymercer Nov 9, 2026
592d162
Merge pull request #4312 from github/henrymercer/all-platform-bundle-…
henrymercer Nov 10, 2026
3ea37a4
Merge pull request #4217 from github/mario-campos/warn-on-changelog-w…
mario-campos Nov 11, 2026
f039c78
Warn about direct CHANGELOG.md changes in PR checks
mario-campos Nov 3, 2026
9e531e1
Install root dependencies for PR comment action
mario-campos Nov 3, 2026
f874b0c
Bump fast-xml-parser from 5.7.1 to 5.12.1
dependabot[bot] Nov 15, 2026
0c7ad84
Rebuild
github-actions[bot] Nov 15, 2026
b2b7b36
Merge pull request #4294 from github/mario-campos-changelog-workflow-…
mario-campos Nov 18, 2026
6903896
Bump the npm-minor group across 1 directory with 9 updates
dependabot[bot] Nov 18, 2026
c0775e2
Rebuild
github-actions[bot] Nov 18, 2026
08643f8
Merge branch 'main' into henrymercer/runner-image-coverage
henrymercer Nov 19, 2026
b4de9cd
Merge pull request #4313 from github/henrymercer/runner-image-coverage
henrymercer Nov 19, 2026
79d1def
Exclude renamed `Post PR comments` job from required checks
henrymercer Nov 19, 2026
80c8b99
Merge branch 'main' into dependabot/npm_and_yarn/npm-minor-04c9f5c560
henrymercer Nov 19, 2026
da2d380
Merge branch 'main' into dependabot/npm_and_yarn/fast-xml-parser-5.12.1
henrymercer Nov 19, 2026
0474445
Merge pull request #4329 from github/dependabot/npm_and_yarn/npm-mino…
henrymercer Nov 19, 2026
f8c39e2
Merge pull request #4328 from github/dependabot/npm_and_yarn/fast-xml…
henrymercer Nov 19, 2026
55aa1d2
Merge pull request #4331 from github/henrymercer/exclude-post-pr-comm…
henrymercer Nov 19, 2026
5f85401
Update default bundle to codeql-bundle-v2.27.5
github-actions[bot] Nov 19, 2026
ff59388
Add changenote
github-actions[bot] Nov 19, 2026
e9c4b4b
Merge pull request #4333 from github/update-bundle/codeql-bundle-v2.27.5
sam-robson Nov 19, 2026
4302074
Update changelog for v4.39.4
github-actions[bot] Nov 20, 2026
1bd86f2
Merge pull request #4336 from github/update-v4.39.4-e9c4b4b15
sam-robson Nov 20, 2026
a34e2a4
Revert "Update version and changelog for v3.39.3"
github-actions[bot] Nov 20, 2026
a6298f5
Revert "Rebuild"
github-actions[bot] Nov 20, 2026
a120989
Merge remote-tracking branch 'origin/releases/v4' into backport-v3.39…
github-actions[bot] Nov 20, 2026
d1bb1e2
Update version and changelog for v3.39.4
github-actions[bot] Nov 20, 2026
a1fabef
Rebuild
github-actions[bot] Nov 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use gh api instead of third-party Action
  • Loading branch information
mario-campos committed Oct 8, 2026
commit 43ac64c2673106d737b19d3e66ba56c4b54a3b9d
17 changes: 9 additions & 8 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,15 @@ jobs:

- name: Post a warning about modifying CHANGELOG.md
if: steps.fetch-base.outcome == 'success' && steps.changelog-check.outputs.changed == 'true'
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
with:
issue-number: ${{ github.event.pull_request.number }}
body: >-
⚠️ CHANGELOG.md was modified in this PR. Please do not modify CHANGELOG.md directly.
Instead, describe your change as a change-note. The CHANGELOG.md file will be automatically
generated from change-notes. For more information,
see [CONTRIBUTING.md](https://github.com/github/codeql-action/blob/main/CONTRIBUTING.md).
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
body="⚠️ CHANGELOG.md was modified in this PR. Please do not modify CHANGELOG.md directly. \
Instead, describe your change as a change-note. The CHANGELOG.md file will be automatically \
generated from change-notes. For more information, \
see [CONTRIBUTING.md](https://github.com/github/codeql-action/blob/main/CONTRIBUTING.md)."
gh api --method POST "repos/$GITHUB_REPOSITORY/issues/$PR_NUMBER/comments" --field body="$body"

- name: "Backport: Check out base ref"
id: checkout-base
Expand Down