Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.
This repository was archived by the owner on May 6, 2020. It is now read-only.

Feature: do not post comment when not in pull_request #50

@hazcod

Description

@hazcod

Hi,
I see the Action is trying to post the changes as a comment, but this requires the use of a file that is present which seemingly isn't there when merging, as can be seen here: https://github.com/ironPeakServices/infrastructure/commit/55d2dc2ec0d6ce210d33e2213de6e2035fd91459/checks

Can we check whether we are in a pull request (e.g. if the file exists), and if we don't skip posting the comment?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions