Skip to content

Commit

Permalink
Add release helper (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
anbraten authored Jul 23, 2023
1 parent 3761b20 commit e5289a5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .woodpecker/release-helper.yml
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions .woodpecker/release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
when:
- event: pull_request
- event: push
branch: ${CI_REPO_DEFAULT_BRANCH}

pipeline:
dryrun:
image: woodpeckerci/plugin-docker-buildx
Expand Down
2 changes: 1 addition & 1 deletion .woodpecker/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
when:
- event: pull_request
- event: push
branch: [main]
branch: ${CI_REPO_DEFAULT_BRANCH}

variables:
- &golang_image "golang:1.20.2"
Expand Down

0 comments on commit e5289a5

Please sign in to comment.