Closed tom-rm-meyer-ISST closed 5 months ago
This is your friendly self-service bot.
Thank you for raising a pull request to update the configuration of your GitHub organization. You can manually add reviewers to this PR to eventually enable auto-merging.
The following conditions need to fulfilled for auto-merging to be available:
This is your friendly self-service bot.
The author (tom-rm-meyer-ISST) of this PR is associated with this organization in the role of MEMBER
.
Additionally, tom-rm-meyer-ISST is a member of the following teams:
This is your friendly self-service bot. Please find below the validation of the requested configuration changes:
This is your friendly self-service bot. The current configuration is in-sync with the live settings. :rocket:
This is your friendly self-service bot.
The following changes have been successfully applied:
Organization automotive.tractusx[id=eclipse-tractusx]
there have been 70 validation infos, enable verbose output with '-v' to to display them.
! branch_protection_rule[pattern="main", repository="puris"] {
! required_status_checks = "['eclipse-eca-validation:eclipsefdn/eca', 'docker-frontend', 'docker-backend', 'Analyze CodeQl', 'Analyze KICS', 'check-dependencies-frontend', 'check-dependencies-backend', 'Check quality guidelines / Check quality guidelines']" -> "['eclipse-eca-validation:eclipsefdn/eca', 'docker-frontend', 'docker-backend', 'CodeQl / Analyze CodeQl', 'Analyze KICS', 'check-dependencies-frontend', 'check-dependencies-backend', 'Check quality guidelines / Check quality guidelines']"
! }
Applying changes:
Done.
Executed plan: 0 added, 1 changed, 0 deleted.
I am not sure if all these status checks use the correct convention. I tried to collect the rules how the status checks need to be referenced here: https://otterdog.readthedocs.io/en/latest/reference/organization/repository/status-check/
I can also double check via the UI what names are required if needed.
I am not sure if all these status checks use the correct convention. I tried to collect the rules how the status checks need to be referenced here: https://otterdog.readthedocs.io/en/latest/reference/organization/repository/status-check/
I can also double check via the UI what names are required if needed.
Hey @netomi,
I only got an issue with Code Ql. I'll raise a ticket for that.
I am not sure if all these status checks use the correct convention. I tried to collect the rules how the status checks need to be referenced here: https://otterdog.readthedocs.io/en/latest/reference/organization/repository/status-check/
I can also double check via the UI what names are required if needed.
Hey @netomi, could you please check the required names including codeql? I currently see that also my docker jobs fail and it seems that I didn't get the documentation right :(
Can you also tell me how to read out the names from the dashboard? Then I brief my project regarding the correct usage :)
so the rule seems to be that you take the name of a job as status check if it exists, otherwise its id
for example in the case of CodeQL, you have that in your workflow:
jobs:
analyze:
name: Analyze
the status check would be Analyze, which is ofc very generic, so giving it a more meaningful name is useful.
For docker, its a bit confusing, there are 2 workflows for backend and frontend, but both have a job with id docker and no name, so in the UI I selected just docker as status check and that seems to work, not sure what happens in the background in such a case, but I would give them distinctive names.
btw also the status check for KICS is wrong, the workflow has a job with name Analyze which is the same as for CodeQL, I would clean this up if you wanna use that as status check.
so the rule seems to be that you take the name of a job as status check if it exists, otherwise its id
for example in the case of CodeQL, you have that in your workflow:
jobs: analyze: name: Analyze
the status check would be Analyze, which is ofc very generic, so giving it a more meaningful name is useful.
For docker, its a bit confusing, there are 2 workflows for backend and frontend, but both have a job with id docker and no name, so in the UI I selected just docker as status check and that seems to work, not sure what happens in the background in such a case, but I would give them distinctive names.
I noticed the same behavior and try to fix it with this pr: https://github.com/eclipse-tractusx/puris/pull/450
docker-backend
and docker-frontend
)My only remaining issue seems to be CodeQl, which I don't get correct if you follow my commit history here.
BTW: docker now works - seems to only have been a ui bug in the end.
Description
Recent pr #81 didn't consider CodeQl workflow as a reused one (wrong).
This pr handles CodeQl as reusable workflow (correct, following the results in this pr).
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review: