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

Request: compatibility with workflow_dispatch #125

Open
jamesbraza opened this issue Jun 5, 2024 · 1 comment
Open

Request: compatibility with workflow_dispatch #125

jamesbraza opened this issue Jun 5, 2024 · 1 comment

Comments

@jamesbraza
Copy link
Contributor

It looks like v1 of this action doesn't support workflow dispatches:

Warning: This action is designed to run on pull request events only, but a "workflow_dispatch" event was received.
Error: No pull request found.

Which comes from here: https://github.com/promptfoo/promptfoo-action/blob/v1/src/main.ts#L79-L84

Do you think we can support workflow dispatching in the future?

@typpo
Copy link
Contributor

typpo commented Jun 8, 2024

@mldangelo think you can you take a look at this too? Related to promptfoo/promptfoo@cb2dd2a

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

2 participants