From 63a8fb04f829d74f63130fba3d23256e3ff33bdf Mon Sep 17 00:00:00 2001 From: Colgrave Date: Thu, 23 Jan 2025 21:48:16 -0500 Subject: [PATCH] add commit setting & add comments --- Git/.woodpecker.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Git/.woodpecker.yaml b/Git/.woodpecker.yaml index 8de0f95..97cc261 100644 --- a/Git/.woodpecker.yaml +++ b/Git/.woodpecker.yaml @@ -1,6 +1,8 @@ # Git/.woodpecker.yaml # # CI step to automatic synchronization with an upstream repository. +# +# [drone-git-push](https://github.com/appleboy/drone-git-push) when: event: [cron, manual] @@ -16,9 +18,15 @@ steps: - git merge upstream/main - name: push + # for more information about plugin settings, please refer to + # https://github.com/appleboy/drone-git-push/blob/master/DOCS.md image: docker.io/appleboy/drone-git-push:latest settings: ssh_key: from_secret: ssh_key - remote: git@codeberg.org: + remote: git@codeberg.org:.git branch: main + commit: true + # force: boolean, force push using the `--force` flag, defaults to false + # commit_message: add a custom message for commit, if it is omitted, it will be `[skip ci] Commit dirty state` + # empty_commit: boolean, if you only want generate an empty commit, you can do it using this option