From 05fffd2a367ff8595060251da06955453c46f622 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Mar 2026 03:24:18 +0000 Subject: [PATCH 1/3] Initial plan From 02d678b16536faac3d1a17d3413efb0c7912a10c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Mar 2026 03:26:49 +0000 Subject: [PATCH 2/3] Upgrade to Node 24 and bump major version to 3.0.0 Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com> --- .tool-versions | 2 +- action.yml | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.tool-versions b/.tool-versions index 557ea46..01c1e7d 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -nodejs 20.11.0 +nodejs 24.14.0 diff --git a/action.yml b/action.yml index ca7f8b8..bb0b430 100644 --- a/action.yml +++ b/action.yml @@ -88,5 +88,5 @@ outputs: created_comment_id: description: "ID of newly created comment, if any" runs: - using: "node20" + using: "node24" main: "dist/index.js" diff --git a/package.json b/package.json index 959c4ee..3b06c4e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sticky-pull-request-comment", - "version": "2.1.1", + "version": "3.0.0", "private": true, "description": "Create comment on pull request, if exists update that comment.", "main": "lib/main.js", From 110692e9e5b1f878e0af35eedfc4ecd3e69ce291 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Mar 2026 03:30:25 +0000 Subject: [PATCH 3/3] Update README.md: replace all @v2 references with @v3 Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com> --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 759d4d1..b5707e4 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ permissions: ``` ```yaml -uses: marocchino/sticky-pull-request-comment@v2 +uses: marocchino/sticky-pull-request-comment@v3 with: message: | Release ${{ github.sha }} to @@ -28,7 +28,7 @@ In some cases, different actions may require different comments. The header allo ````yaml release: ... - - uses: marocchino/sticky-pull-request-comment@v2 + - uses: marocchino/sticky-pull-request-comment@v3 with: header: release message: | @@ -44,7 +44,7 @@ test: rake test echo "$EOF" } >> "$GITHUB_ENV" - - uses: marocchino/sticky-pull-request-comment@v2 + - uses: marocchino/sticky-pull-request-comment@v3 with: header: test message: | @@ -66,7 +66,7 @@ test: rake test echo "$EOF" } >> "$GITHUB_ENV" - - uses: marocchino/sticky-pull-request-comment@v2 + - uses: marocchino/sticky-pull-request-comment@v3 with: append: true message: | @@ -83,7 +83,7 @@ If for some reason, triggering on pr is not possible, you can use push. ```yaml - uses: jwalton/gh-find-current-pr@v1 id: finder -- uses: marocchino/sticky-pull-request-comment@v2 +- uses: marocchino/sticky-pull-request-comment@v3 with: number: ${{ steps.finder.outputs.pr }} message: | @@ -94,7 +94,7 @@ If for some reason, triggering on pr is not possible, you can use push. ### Read comment from a file ```yaml -uses: marocchino/sticky-pull-request-comment@v2 +uses: marocchino/sticky-pull-request-comment@v3 with: path: path-to-comment-contents.txt ``` @@ -102,7 +102,7 @@ with: ### Delete the previous comment and add a comment at the end ```yaml -uses: marocchino/sticky-pull-request-comment@v2 +uses: marocchino/sticky-pull-request-comment@v3 with: recreate: true message: | @@ -112,7 +112,7 @@ with: ### Delete previous comment ```yaml -uses: marocchino/sticky-pull-request-comment@v2 +uses: marocchino/sticky-pull-request-comment@v3 with: header: delete: true @@ -121,7 +121,7 @@ with: ### Hide the previous comment and add a comment at the end ```yaml -uses: marocchino/sticky-pull-request-comment@v2 +uses: marocchino/sticky-pull-request-comment@v3 with: hide_and_recreate: true hide_classify: "OUTDATED" @@ -132,7 +132,7 @@ with: ### Hide previous comment ```yaml -uses: marocchino/sticky-pull-request-comment@v2 +uses: marocchino/sticky-pull-request-comment@v3 with: header: hide: true