nixos/.woodpecker/flake-update.yml

42 lines
1.1 KiB
YAML
Raw Normal View History

2025-01-06 10:35:20 +04:00
when:
event: cron
cron: "update flake"
steps:
update:
image: ghcr.io/nixos/nix:latest
2025-01-07 09:22:13 +04:00
commands: |
echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
nix flake update
2025-01-06 10:35:20 +04:00
push:
2025-01-07 09:19:39 +04:00
image: appleboy/drone-git-push
settings:
branch: flake-lock-update
local_ref: flake-lock-update
ssh_key:
from_secret: ssh_key
remote: ssh://forgejo@git.sako.lol/sako/nixos.git
force: false
commit: true
commit_message: "flake.lock: update"
author_name: "sako-ci"
author_email: "bot@sako.lol"
pr:
2025-01-06 10:35:20 +04:00
image: johnwalkerx/gitea-pull-request-create-plugin:latest
2025-01-07 09:19:39 +04:00
pull: true
2025-01-06 10:35:20 +04:00
settings:
2025-01-06 12:55:34 +04:00
gitea_address: https://git.sako.lol
2025-01-06 10:35:20 +04:00
gitea_token:
from_secret: token
owner: ${CI_REPO_OWNER}
repo: ${CI_REPO_NAME}
2025-01-06 16:56:16 +04:00
branch: flake-lock-update
2025-01-06 10:35:20 +04:00
base_branch: master
2025-01-06 10:36:12 +04:00
pr_title: "flake.lock: update"
2025-01-06 12:27:00 +04:00
pr_body: update flake.lock
2025-01-06 17:14:16 +04:00
skip_on_missing_branch: false
2025-01-06 10:35:20 +04:00
close_pr_if_empty: true
delete_branch_if_pr_empty: true
2025-01-06 14:42:09 +04:00
merge_when_checks_succeed: false
2025-01-06 10:35:20 +04:00
delete_branch_after_merge: true