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

Validate workflow_run values #204

Closed
GustavoKatel opened this issue Aug 25, 2022 · 2 comments
Closed

Validate workflow_run values #204

GustavoKatel opened this issue Aug 25, 2022 · 2 comments

Comments

@GustavoKatel
Copy link

Is it possible to validate whether the workflow name defined in a workflow_run exists or not?

Something like:

on:
  workflow_run:
    workflows: [Run Tests] # <- This would raise an error if "Run Tests" does not exist in the workflow files.
    types:
      - completed

It doesn't seem to be validating that right now.

Docs for workflow_run: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run

@GustavoKatel
Copy link
Author

oh this is probably a duplicate of #83

@rhysd
Copy link
Owner

rhysd commented Sep 16, 2022

Yes, this is a duplicate. Let's track this at #83.

@rhysd rhysd closed this as completed Sep 16, 2022
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