这是indexloc提供的服务,不要输入任何密码
Skip to content

Action only works on workflows triggered by PR #54

@timo-a

Description

@timo-a

I would like to use reviewdog in a workflow that is not directly triggered by a Pull Request but only indirectly, by another workflow which is triggered by a PR. I'm trying to copy langchain4j/langchain4j#673 but with reviewdog instead of the google code suggester. Security concerns are the reason to split formatting and suggesting into different workflows. But for all I've tried I couldn't make reviewdog work when the request wasn't triggered by a Pull Request.
Is this by design? Then please consider this a feature request: The action should also work when triggered by workflow_run.
If it is not by design and is actually supposed to work could you please have a look at https://github.com/timo-a/jackson-core/actions/runs/8638440591/job/23682897275?
The logs say reviewdog: this is not PullRequest build.
The workflow is: https://github.com/timo-a/jackson-core/blob/a847f5e655643e98242f40fad57ec6c23dd490c6/.github/workflows/comment-pr.yml and depends on https://github.com/timo-a/jackson-core/blob/a847f5e655643e98242f40fad57ec6c23dd490c6/.github/workflows/receive-pr.yml.
Other Workflows do make a suggestion on timo-a/jackson-core#2 however they are all triggered by a pull_request

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