.woodpecker/.deploy.yaml: add a random message to PR
This commit is contained in:
parent
191b20f899
commit
1a832a7667
1 changed files with 15 additions and 0 deletions
|
@ -48,10 +48,18 @@ steps:
|
|||
- branch:
|
||||
exclude: master
|
||||
event: push
|
||||
- name: generate random pull request message
|
||||
image: git.ar21.de/tom/push-message-randomizer:latest
|
||||
pull: true
|
||||
when:
|
||||
- event: push
|
||||
- name: create pull request (prod)
|
||||
image: johnwalkerx/gitea-pull-request-create-plugin:latest
|
||||
pull: true
|
||||
commands:
|
||||
- PLUGIN_PR_BODY_MESSAGE="$(cat message.txt)"
|
||||
settings:
|
||||
pr_body_message: ""
|
||||
gitea_address: https://git.ar21.de
|
||||
gitea_token:
|
||||
from_secret: FORGEJO_API
|
||||
|
@ -63,6 +71,8 @@ steps:
|
|||
pr_body: |
|
||||
### ℹ Dashboard image update
|
||||
|
||||
$${PLUGIN_PR_BODY_MESSAGE}
|
||||
|
||||
### Configuration
|
||||
|
||||
📅 **Schedule**: Branch creation - At any time, Automerge - At any time.
|
||||
|
@ -79,7 +89,10 @@ steps:
|
|||
- name: create pull request (staging)
|
||||
image: johnwalkerx/gitea-pull-request-create-plugin:latest
|
||||
pull: true
|
||||
commands:
|
||||
- PLUGIN_PR_BODY_MESSAGE="$(cat message.txt)"
|
||||
settings:
|
||||
pr_body_message: ""
|
||||
gitea_address: https://git.ar21.de
|
||||
gitea_token:
|
||||
from_secret: FORGEJO_API
|
||||
|
@ -91,6 +104,8 @@ steps:
|
|||
pr_body: |
|
||||
### ℹ Dashboard image update
|
||||
|
||||
$${PLUGIN_PR_BODY_MESSAGE}
|
||||
|
||||
### Configuration
|
||||
|
||||
📅 **Schedule**: Branch creation - At any time, Automerge - At any time.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue