Skip to content

Action fails on irrelevant steps when run outside of PR #6

@hasansino

Description

@hasansino

When action is executed NOT in PR context (on push to master for ex.) — it fails on these steps:

Run peter-evans/find-comment@v3
  with:
    comment-author: github-actions[bot]
    body-includes: <!-- vacuum-lint-report -->
    token: ***
    repository: ***
    direction: first
    nth: 0
Error: Not Found
Run peter-evans/create-or-update-comment@v4
  with:
    token: ***
    repository: ***
    body-path: vacuum-lint-report.md
    edit-mode: replace
    append-separator: newline
    reactions-edit-mode: append
Error: Missing either 'issue-number' or 'comment-id'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions