From f825dd52a56e85d3658b50c17209e19a4686be0e Mon Sep 17 00:00:00 2001 From: Anbraten Date: Tue, 11 Jul 2023 18:36:19 +0200 Subject: [PATCH 1/4] add release helper --- .woodpecker/release.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .woodpecker/release.yml diff --git a/.woodpecker/release.yml b/.woodpecker/release.yml new file mode 100644 index 0000000000..c87d8c56bd --- /dev/null +++ b/.woodpecker/release.yml @@ -0,0 +1,14 @@ +pipeline: + release: + image: woodpeckerci/plugin-ready-release-go + pull: true + settings: + release_branch: main + forge_type: github + git_email: woodpecker-bot@obermui.de + github_token: + from_secret: GITHUB_TOKEN + +when: + event: push + branch: main From 628982d3ba646f63bb2043fcb1284d4436e0b7f6 Mon Sep 17 00:00:00 2001 From: Anbraten Date: Tue, 11 Jul 2023 19:06:34 +0200 Subject: [PATCH 2/4] use steps --- .woodpecker/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/release.yml b/.woodpecker/release.yml index c87d8c56bd..4b927c8c79 100644 --- a/.woodpecker/release.yml +++ b/.woodpecker/release.yml @@ -1,4 +1,4 @@ -pipeline: +steps: release: image: woodpeckerci/plugin-ready-release-go pull: true From 9c4ed7d904ae379b7bdc3128dfe859acb329d2e6 Mon Sep 17 00:00:00 2001 From: Anbraten Date: Wed, 12 Jul 2023 09:22:06 +0200 Subject: [PATCH 3/4] use var --- .woodpecker/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker/release.yml b/.woodpecker/release.yml index 4b927c8c79..e998f2f66a 100644 --- a/.woodpecker/release.yml +++ b/.woodpecker/release.yml @@ -3,7 +3,7 @@ steps: image: woodpeckerci/plugin-ready-release-go pull: true settings: - release_branch: main + release_branch: ${CI_REPO_DEFAULT_BRANCH} forge_type: github git_email: woodpecker-bot@obermui.de github_token: @@ -11,4 +11,4 @@ steps: when: event: push - branch: main + branch: ${CI_REPO_DEFAULT_BRANCH} From de92632ee3c4eab91f8656837aba03295ca01a5b Mon Sep 17 00:00:00 2001 From: Anbraten Date: Wed, 6 Sep 2023 19:37:41 +0200 Subject: [PATCH 4/4] add config --- release-config.ts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 release-config.ts diff --git a/release-config.ts b/release-config.ts new file mode 100644 index 0000000000..13d36fd55d --- /dev/null +++ b/release-config.ts @@ -0,0 +1,3 @@ +export default { + commentOnReleasedPullRequests: false, +};