openshift-actions-runners
openshift-actions-runners copied to clipboard
Add support for RUNNER_NAME
Description
Add support to set the GitHub runner name by use of RUNNER_NAME
environment variable while maintaining default to hostname.
Related Issue(s)
#35
Checklist
- [x ] This PR includes a documentation change
- [ ] This PR does not need a documentation change
- [ ] This PR includes test changes
- [ x] This PR's changes are already tested
- [ ] This change is not user-facing
- [ ] This change is a patch change
- [ x] This change is a minor change
- [ ] This change is a major (breaking) change
Changes made
Update register.sh
to default the runner name to environment variable RUNNER_NAME
with default to hostname.