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

Dispatching to a disabled workflow fails calling workflow after update to v1.2.3 #72

Open
AttNemeth opened this issue Apr 30, 2024 · 0 comments

Comments

@AttNemeth
Copy link

Hi,

after updating to v1.2.3 I have noticed that dispatching to a disabled workflow now fails the calling workflow instead of simply logging a warning. Since the code did not change, I expect this is a side-effect of the underlying dependency updates.

Could you please fix this? Thanks!

Logs with v1.2.3:

🏃 Workflow Dispatch Action v1.2.1
🔎 Found workflow, id: X, name: Y, path: Z
🚀 Calling GitHub API to dispatch workflow...
Error: Cannot trigger a 'workflow_dispatch' on a disabled workflow - https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event

Expected (logs with v.1.2.2):

🏃 Workflow Dispatch Action v1.2.1
🔎 Found workflow, id: X, name: Y, path: Z
🚀 Calling GitHub API to dispatch workflow...
Warning: Workflow is disabled, no action was taken
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