From 3ae370e1bcdbf054fa1d2e1a4ecfdfdb4d1ef0dc Mon Sep 17 00:00:00 2001 From: Pierre-Charles David Date: Fri, 9 Feb 2024 09:41:54 +0100 Subject: [PATCH] Add GH_ACTION_TOKEN secret Needed for the GitHub Actions workflow in sirius-website-sources to push the result into sirius-website. See https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/4254 for context. Signed-off-by: Pierre-Charles David --- otterdog/eclipse-sirius.jsonnet | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/otterdog/eclipse-sirius.jsonnet b/otterdog/eclipse-sirius.jsonnet index 2e41163..1aff2c6 100644 --- a/otterdog/eclipse-sirius.jsonnet +++ b/otterdog/eclipse-sirius.jsonnet @@ -127,6 +127,11 @@ orgs.newOrg('eclipse-sirius') { workflows+: { default_workflow_permissions: "write", }, + secrets: [ + orgs.newRepoSecret('GH_ACTION_TOKEN') { + value: "pass:bots/modeling.sirius/github.com/api-token", + }, + ], }, orgs.newRepo('.github') { allow_merge_commit: true,