lhotari edited a comment on pull request #14226: URL: https://github.com/apache/pulsar/pull/14226#issuecomment-1036038903
Listing job names, requires [yq](https://mikefarah.gitbook.io/yq) (`brew install yq`): ``` for f in .github/workflows/*.yaml; do FILE=$f yq eval -o j '.jobs | to_entries | {"file": env(FILE),"id":.[].key, "name":.[].value.name}' $f; done ``` The name of the job is the id if the name is empty or unspecified. for example ``` { "file": ".github/workflows/ci-license.yaml", "id": "license-check", "name": "License check" } ``` and in comparison ``` { "file": ".github/workflows/ci-owasp-dep-check.yaml", "id": "owasp-dep-check", "name": null } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
