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
I have installed the latest dev version of {precommit} with remotes::install_github('lorenzwalthert/precommit')
I have installed the latest hook revisions (update with precommit::autoupdate())
I have installed the latest release of the upstream Python framework pre-comit as described under the update instructions.
Describe the bug
When running precommit::use_precommit(ci = "gha") the Github Actions config that is added to the repo is configured to the old 18.04 image of Ubuntu. In my view it should be either ubuntu-latest or ubuntu-22.04.
To Reproduce
Steps to reproduce the behavior:
Run precommit::use_precommit(ci = "gha").
Commit to github repo with Actions enabled.
ERROR: The action stays in a queued state because of the os-image.
Expected behavior
I expect the Github Actions to start by itself when running the steps above.
Additional context
I have tested in my own repo that it works when using ubuntu-latest and ubuntu-22.04.
My operating system is: MacOS Sonoma 14.6.1
My project uses {renv}.
the output of packageVersion('renv')
packageVersion("renv")
#> [1] '1.0.7'
The text was updated successfully, but these errors were encountered:
Before filing a bug
remotes::install_github('lorenzwalthert/precommit')
precommit::autoupdate()
)Describe the bug
When running
precommit::use_precommit(ci = "gha")
the Github Actions config that is added to the repo is configured to the old 18.04 image of Ubuntu. In my view it should be eitherubuntu-latest
orubuntu-22.04
.To Reproduce
Steps to reproduce the behavior:
precommit::use_precommit(ci = "gha")
.Expected behavior
I expect the Github Actions to start by itself when running the steps above.
Additional context
I have tested in my own repo that it works when using
ubuntu-latest
andubuntu-22.04
.packageVersion('renv')
The text was updated successfully, but these errors were encountered: