eclipse-tractusx / .eclipsefdn

Repository to host configurations related to the Eclipse Foundation.
https://eclipse-tractusx.github.io/.eclipsefdn/
1 stars 19 forks source link

feat(prs): block failing build for github pages #106

Closed matbmoser closed 1 month ago

matbmoser commented 1 month ago

Description

We want to force the build for our main tractus-x webpage to be working and block the merge if not.

Workflow: https://github.com/eclipse-tractusx/eclipse-tractusx.github.io/blob/main/.github/workflows/build-and-deploy-gh-pages.yaml#L30C11-L30C43

Pre-review checks

Please ensure to do as many of the following checks as possible, before asking for committer review:

Closes eclipse-tractusx/eclipse-tractusx.github.io#1067

eclipse-otterdog[bot] commented 1 month 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:

Otterdog commands and options You can trigger otterdog actions by commenting on this PR: - `/otterdog team-info` checks the team / org membership for the PR author - `/otterdog validate` validates the configuration change - `/otterdog validate info` validates the configuration change, printing also validation infos - `/otterdog check-sync` checks if the base ref is in sync with live settings - `/otterdog merge` merges and applies the changes if the PR is eligible for auto-merging (only accessible for the author) - `/otterdog done` notifies the self-service bot that a required manual apply operation has been performed (only accessible for members of the admin team) - `/otterdog apply` re-apply a previously failed attempt (only accessible for members of the admin team)
eclipse-otterdog[bot] commented 1 month ago

This is your friendly self-service bot.

The author (matbmoser) of this PR is associated with this organization in the role of MEMBER.

Additionally, matbmoser is a member of the following teams:

eclipse-otterdog[bot] commented 1 month ago

This is your friendly self-service bot. Please find below the validation of the requested configuration changes:

Diff for 04ba722831c3e21caaea18b83349c83f9b2a7930 ```diff Organization automotive.tractusx[id=eclipse-tractusx] there have been 65 validation infos, enable verbose output with '-v' to to display them. ! branch_protection_rule[pattern="main", repository="eclipse-tractusx.github.io"] { ! required_status_checks = [ + Build and deploy to GitHub Pages ! ] ! } Plan: 0 to add, 1 to change, 0 to delete. ```
eclipse-otterdog[bot] commented 1 month ago

This is your friendly self-service bot. The current configuration is out-of-sync with the live settings:

Diff to live settings ```diff Organization automotive.tractusx[id=eclipse-tractusx] there have been 65 validation infos, enable verbose output with '-v' to to display them. ! repository[name="sldt-ontology-model"] { ! code_scanning_default_setup_enabled = true -> false ! } Plan: 0 to add, 1 to change, 0 to delete. ```

The current configuration needs to be updated to reflect the live settings otherwise they would be overwritten when this PR gets merged.

cc @eclipse-tractusx/eclipsefdn-security

cc @eclipse-tractusx/eclipsefdn-releng

eclipse-otterdog[bot] commented 1 month ago

This is your friendly self-service bot. Please find below the validation of the requested configuration changes:

Diff for 354301444757956172ff32809159207ac078488c ```diff Organization automotive.tractusx[id=eclipse-tractusx] there have been 65 validation infos, enable verbose output with '-v' to to display them. ! branch_protection_rule[pattern="main", repository="eclipse-tractusx.github.io"] { ! required_status_checks = [ + Build and deploy to GitHub Pages ! ] ! } Plan: 0 to add, 1 to change, 0 to delete. ```
eclipse-otterdog[bot] commented 1 month ago

This is your friendly self-service bot. The current configuration is in-sync with the live settings. :rocket:

eclipse-otterdog[bot] commented 1 month ago

This is your friendly self-service bot. This Pull Request is eligible for auto-merging as it passed the following checks:

In order to automatically merge and apply the changes, add a comment /otterdog merge. :rocket:

matbmoser commented 1 month ago

/otterdog merge

eclipse-otterdog[bot] commented 1 month ago

This is your friendly self-service bot.

The following changes have been successfully applied:


Organization automotive.tractusx[id=eclipse-tractusx]
  there have been 65 validation infos, enable verbose output with '-v' to to display them.

!   branch_protection_rule[pattern="main", repository="eclipse-tractusx.github.io"] {
!     required_status_checks = [
+      Build and deploy to GitHub Pages
!     ]
!   }

  Applying changes:

  Done.

  Executed plan: 0 added, 1 changed, 0 deleted.