github / github/command

When using a matrix strategy the actions fails in the post step

Open
#85 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
167
Forks
17
PR merge metrics
No merged PRs in 30d

Description

### Describe the Issue

When using a matrix strategy to run the job multiple times the actions post step fails all but once because it can not find the initial reaction that has been removed already by some other matrix run.

### Action Configuration

```yaml
jobs:
something:
strategy:
matrix:
runs:
- a
- b
steps:
- name: Check command in comment
id: command
uses: github/command@v2
with:
command: .plan
allowed_contexts: "pull_request"
```

### Relevant Actions Log Output

```
2025-06-25T07:24:32.1785017Z ##[error]HttpError: Not Found - https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#delete-an-issue-comment-reaction
at /__w/_actions/actions/command/v2/node_modules/@octokit/core/node_modules/@octokit/request/dist-node/index.js:125:1
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at postReactions (/__w/_actions/actions/command/v2/src/functions/post-reactions.js:8:1)
at post (/__w/_actions/actions/command/v2/src/functions/post.js:65:1)
2025-06-25T07:24:32.1802743Z ##[error]Not Found - https://docs.github.com/enterprise-server@3.16/rest/reactions/reactions#delete-an-issue-comment-reaction
```

### Extra Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.