Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action only works on workflows triggered by PR #54

Open
timo-a opened this issue Apr 10, 2024 · 0 comments
Open

Action only works on workflows triggered by PR #54

timo-a opened this issue Apr 10, 2024 · 0 comments

Comments

@timo-a
Copy link

timo-a commented Apr 10, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant