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

Add PLATFORM_BOT_PAT #9

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Add PLATFORM_BOT_PAT #9

merged 1 commit into from
Sep 26, 2024

Conversation

heurtematte
Copy link
Contributor

Related to https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/5020

Signed-off-by: sebastien.heurtematte <sebastien.heurtematte@eclipse-foundation.org>
@heurtematte heurtematte requested a review from a team as a code owner September 26, 2024 15:29
Copy link

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:

  • valid configuration
  • approved by a project lead
  • does not require any secrets
  • does not update settings only accessible via the GitHub Web UI
  • does not remove any resource
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)

Copy link

This is your friendly self-service bot.

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

Additionally, heurtematte is a member of the following teams:

Copy link

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

Diff for b1e165f
Organization eclipse.platform[id=eclipse-platform]
  there have been 36 validation infos, enable verbose output with '-v' to to display them.

+  add repo_secret[name="PLATFORM_BOT_PAT", repository="eclipse.platform"] {
+    name                              = "PLATFORM_BOT_PAT"
+    value                             = "pass:bots/eclipse.platform/github.com/token-hd5020"
+  }

+  add repo_secret[name="PLATFORM_BOT_PAT", repository="eclipse.platform.swt"] {
+    name                              = "PLATFORM_BOT_PAT"
+    value                             = "pass:bots/eclipse.platform/github.com/token-hd5020"
+  }

+  add repo_secret[name="PLATFORM_BOT_PAT", repository="eclipse.platform.ui"] {
+    name                              = "PLATFORM_BOT_PAT"
+    value                             = "pass:bots/eclipse.platform/github.com/token-hd5020"
+  }
  
  Plan: 3 to add, 0 to change, 0 to delete.

Warnings

  • some of requested changes require secrets, need to apply these changes manually

cc @eclipse-platform/eclipsefdn-security

cc @eclipse-platform/eclipsefdn-releng

Copy link

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

@netomi netomi merged commit cfb7434 into main Sep 26, 2024
3 checks passed
@netomi netomi deleted the feat/bot_token_public_repo branch September 26, 2024 15:33
Copy link

This is your friendly self-service bot.

The following changes have been successfully applied:

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

  No changes required.

Note

The pull request was only partially applied as it requires some access to secrets or the Web UI,
please apply the remaining changes manually and confirm with replying with /otterdog done.

cc @eclipse-platform/eclipsefdn-security

cc @eclipse-platform/eclipsefdn-releng

@netomi
Copy link
Contributor

netomi commented Sep 26, 2024

/otterdog done

Copy link

This is your friendly self-service bot. The PR has been marked as being completed.

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

Successfully merging this pull request may close these issues.

2 participants