ci: add change pushing
Some checks failed
ci/woodpecker/cron/flake-lock-update Pipeline failed

This commit is contained in:
notohh 2024-01-23 18:01:23 -05:00
parent 60ef82602e
commit 5175f8275f
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -13,6 +13,16 @@ steps:
commands: commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf - echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix flake update - nix flake update
push-changes:
image: appleboy/drone-git-push
settings:
branch: flake-lock-update
ssh_key:
from_secret: forgejo_ssh_key
commit: true
commit_message: "flake.lock: update"
author_name: "WoodpeckerCI"
author_email: "woodpecker@flake.sh"
make-pr: make-pr:
image: johnwalkerx/gitea-pull-request-create-plugin:latest image: johnwalkerx/gitea-pull-request-create-plugin:latest
pull: true pull: true
@ -26,7 +36,7 @@ steps:
base_branch: main base_branch: main
pr_title: "flake.lock: update" pr_title: "flake.lock: update"
pr_body: PR automatically created by Woodpecker CI pr_body: PR automatically created by Woodpecker CI
skip_on_missing_branch: false skip_on_missing_branch: true
close_pr_if_empty: true close_pr_if_empty: true
delete_branch_if_pr_empty: true delete_branch_if_pr_empty: true
merge_when_checks_succeed: false merge_when_checks_succeed: false