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

Workflow does not have 'workflow_dispatch' trigger. #630

Closed
rolfTurner opened this issue Aug 3, 2024 · 1 comment
Closed

Workflow does not have 'workflow_dispatch' trigger. #630

rolfTurner opened this issue Aug 3, 2024 · 1 comment

Comments

@rolfTurner
Copy link

I keep trying to run rhub::rhub_check(platforms="windows") and it keeps finding new ways to frustrate me. The output I get is as follows.

 library(rhub)
 rhub_check(platforms="windows")
✔ Found git repository at /home/rolf/Rpackages/Kanova/kanova.
✔ Found GitHub PAT.
Error in `rhub_check(platforms = "windows")`:
! :( Failed to start check: Workflow does not have 'workflow_dispatch' trigger.
ℹ If you think this is a bug in the rhub package, please open an issues at
  <https://github.com/r-hub/rhub/issues>.
Type .Last.error to see the more details.

How can I arrange for my "workflow" to have "workflow_dispatch trigger"???
(I must confess that I have no idea what a "workflow" actually is.)

This problem seemed to come out of the blue. In all my previous attempts at using rhub_check() no such error was thrown. Then suddenly ....

@gaborcsardi
Copy link
Collaborator

You deleted the rhub.yaml workflow file: rolfTurner/kanova@0831a8f#diff-66448eff86c4360e3d463a58ea3f83d0902a32e4f61a0007e212f91e5fffdd32
rhub_check() does not work without this.
You can run rhub_setup() to crete it again.

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