add commit setting & add comments

This commit is contained in:
Colgrave 2025-01-23 21:48:16 -05:00
parent c4d86379fd
commit 63a8fb04f8

View File

@ -1,6 +1,8 @@
# Git/.woodpecker.yaml # Git/.woodpecker.yaml
# #
# CI step to automatic synchronization with an upstream repository. # CI step to automatic synchronization with an upstream repository.
#
# [drone-git-push](https://github.com/appleboy/drone-git-push)
when: when:
event: [cron, manual] event: [cron, manual]
@ -16,9 +18,15 @@ steps:
- git merge upstream/main - git merge upstream/main
- name: push - 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 image: docker.io/appleboy/drone-git-push:latest
settings: settings:
ssh_key: ssh_key:
from_secret: ssh_key from_secret: ssh_key
remote: git@codeberg.org:<YOUR_REPO> remote: git@codeberg.org:<YOUR_REPO>.git
branch: main 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