diff --git a/.woodpecker/.deploy.yaml b/.woodpecker/.deploy.yaml index 5f19257..b544e7f 100644 --- a/.woodpecker/.deploy.yaml +++ b/.woodpecker/.deploy.yaml @@ -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.