From 5175f8275f3335dd1d5b43fea84e2faaf5192c9c Mon Sep 17 00:00:00 2001 From: notohh Date: Tue, 23 Jan 2024 18:01:23 -0500 Subject: [PATCH] ci: add change pushing --- .woodpecker/flake-lock-update.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.woodpecker/flake-lock-update.yml b/.woodpecker/flake-lock-update.yml index 5e5fd7a..fb0442d 100644 --- a/.woodpecker/flake-lock-update.yml +++ b/.woodpecker/flake-lock-update.yml @@ -13,6 +13,16 @@ steps: commands: - echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf - 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: image: johnwalkerx/gitea-pull-request-create-plugin:latest pull: true @@ -26,7 +36,7 @@ steps: base_branch: main pr_title: "flake.lock: update" pr_body: PR automatically created by Woodpecker CI - skip_on_missing_branch: false + skip_on_missing_branch: true close_pr_if_empty: true delete_branch_if_pr_empty: true merge_when_checks_succeed: false