Skip to content
Merged

v4 #263

Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 20.x
node-version-file: package.json
cache: npm
- run: npm ci
- run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-major-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
type: choice
description: The major version tag to update
options:
- v3
- v4

jobs:
tag:
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The SHA defaults to `github.sha` OR, for `pull_request` events `github.event.pul

```yml
- name: Create commit comment
uses: peter-evans/commit-comment@v3
uses: peter-evans/commit-comment@v4
with:
body: |
This is a multi-line test comment
Expand All @@ -29,7 +29,7 @@ The SHA defaults to `github.sha` OR, for `pull_request` events `github.event.pul

```yml
- name: Update commit comment
uses: peter-evans/commit-comment@v3
uses: peter-evans/commit-comment@v4
with:
comment-id: 557858210
body: |
Expand All @@ -41,7 +41,7 @@ The SHA defaults to `github.sha` OR, for `pull_request` events `github.event.pul

```yml
- name: Add reactions
uses: peter-evans/commit-comment@v3
uses: peter-evans/commit-comment@v4
with:
comment-id: 557858210
reactions: |
Expand Down Expand Up @@ -78,7 +78,7 @@ Note that in order to read the step output the action step must have an id.

```yml
- name: Create commit comment
uses: peter-evans/commit-comment@v3
uses: peter-evans/commit-comment@v4
id: cc
with:
body: |
Expand All @@ -92,7 +92,7 @@ Note that in order to read the step output the action step must have an id.

```yml
- name: Create commit comment
uses: peter-evans/commit-comment@v3
uses: peter-evans/commit-comment@v4
with:
body-path: 'comment-body.md'
```
Expand All @@ -117,7 +117,7 @@ The template is rendered using the [render-template](https://github.com/chuhlomi
bar: that

- name: Create commit comment
uses: peter-evans/commit-comment@v3
uses: peter-evans/commit-comment@v4
with:
body: ${{ steps.template.outputs.result }}
```
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ outputs:
comment-id:
description: 'The id of the created commit comment'
runs:
using: 'node20'
using: 'node24'
main: 'dist/index.js'
branding:
icon: 'message-square'
Expand Down
Loading
Loading