-
-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Description
Before filing a bug
- 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'Metadata
Metadata
Assignees
Labels
No labels