r-lib / actions

GitHub Actions for the R community
Creative Commons Zero v1.0 Universal
930 stars 199 forks source link

Suggestion: use unique workflow names #863

Open sebbASF opened 3 weeks ago

sebbASF commented 3 weeks ago

Is your feature request related to a problem? Please describe. There are 3 workflows with the same name (R-CMD-Check). This is confusing.

Describe the solution you'd like Each workflow should have a unique name

Describe alternatives you've considered N/A

Additional context N/A

gaborcsardi commented 3 weeks ago

They are all running R CMD check, hence the name, but on a different set of platforms, so you'd only need to install one of them.

sebbASF commented 2 weeks ago

Yes, but all 3 appear in the actions list, and if one fails, it is not obvious which has failed without further investigation.

gaborcsardi commented 2 weeks ago

Why are you using all three of them? You really only need to use one of them. Nevertheless, these are only examples, so feel free to rename the workflows in your repos.

If we renamed them now, then when people update their workflows, they would have their new builds under the new name and the old builds under the old name, which is confusing. So renaming them would have a negative effect without any positive effects for essentially everybody.

sebbASF commented 2 weeks ago

I was referring to the list of workflows here: https://github.com/r-lib/actions/actions

gaborcsardi commented 2 weeks ago

Ah, right! Those are our tests for r-lib/actions itself. They are not for people to copy. We suggest that you copy the workflows from https://github.com/r-lib/actions/tree/v2/examples