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

Stable job names (don't include versions) #68

Open
koterpillar opened this issue Jul 11, 2021 · 2 comments
Open

Stable job names (don't include versions) #68

koterpillar opened this issue Jul 11, 2021 · 2 comments

Comments

@koterpillar
Copy link

koterpillar commented Jul 11, 2021

Currently the workflow jobs created by this plugin have some parts of the build environment appended to the name, e.g.

Build and Test (ubuntu-latest, 2.13.6, [email protected])

GitHub lets me specify that the jobs must succeed in order to merge a PR - by name:

Required status checks in branch protection rule settings

However, if a PR changes the Scala or Java version it will be problematic to merge without disabling the rule.

In fact, I don't think I'm in control of the Java version or the "ubuntu-latest" part either.

I'd like to have an option to only have the critical pieces of environment (e.g. "Scala 2.13") in the job name, and omit everything else.

@djspiewak
Copy link
Collaborator

This is also a problem with Mergify integrations. I'm not sure there's a way to do explicitly control the job names though. The parentheticals are auto-generated by GitHub Actions matrix support.

@koterpillar
Copy link
Author

Indeed, I see it in the generated file.

At least for GitHub Actions, I've found some workarounds - something like build_all can be implemented here.

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