You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The changes was made after I messed up the workflow by naively having it apply to pull requests (which would have required an extra pull-request to the pull request). See also #135 and discussion here: NOAA-FIMS/FIMS#660.
To Reproduce
Run in an R package: ghactions4r::use_doc_and_style_r(how_to_commit = "pull_request", build_trigger = "pull_request")
and push the workflow to github.
Try creating a branch, make a change that requires styling, and opening a pull request.
The workflow will error
Expected behavior
A pull request opens to the branch.
Another option if we don't want to support this workflow is to have use_doc_and_style_r() error with a helpful message if someone tries to set up a workflow with options how_to_commit = "pull_request", build_trigger = "pull_request"
Screenshots
No response
Which OS are you seeing the problem on?
No response
Which browser are you seeing the problem on?
No response
Which version of ghactions4r are you seeing the problem on?
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
From @iantaylor-NOAA :
To Reproduce
Run in an R package:
ghactions4r::use_doc_and_style_r(how_to_commit = "pull_request", build_trigger = "pull_request")
and push the workflow to github.
Try creating a branch, make a change that requires styling, and opening a pull request.
The workflow will error
Expected behavior
A pull request opens to the branch.
Another option if we don't want to support this workflow is to have
use_doc_and_style_r()
error with a helpful message if someone tries to set up a workflow with optionshow_to_commit = "pull_request", build_trigger = "pull_request"
Screenshots
No response
Which OS are you seeing the problem on?
No response
Which browser are you seeing the problem on?
No response
Which version of ghactions4r are you seeing the problem on?
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: