diff --git a/.woodpecker/release-helper.yml b/.woodpecker/release-helper.yml new file mode 100644 index 00000000..9194dd65 --- /dev/null +++ b/.woodpecker/release-helper.yml @@ -0,0 +1,12 @@ +when: + event: push + branch: ${CI_REPO_DEFAULT_BRANCH} + +steps: + release: + image: woodpeckerci/plugin-ready-release-go + pull: true + settings: + git_email: woodpecker-bot@obermui.de + github_token: + from_secret: GITHUB_TOKEN diff --git a/.woodpecker/release.yml b/.woodpecker/release.yml index f74a88ac..03f592b0 100644 --- a/.woodpecker/release.yml +++ b/.woodpecker/release.yml @@ -1,3 +1,8 @@ +when: + - event: pull_request + - event: push + branch: ${CI_REPO_DEFAULT_BRANCH} + pipeline: dryrun: image: woodpeckerci/plugin-docker-buildx diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 01997534..fc7c6c68 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -1,7 +1,7 @@ when: - event: pull_request - event: push - branch: [main] + branch: ${CI_REPO_DEFAULT_BRANCH} variables: - &golang_image "golang:1.20.2"