ci: test pr ci
Some checks failed
ci/woodpecker/push/flake-lock-update Pipeline is pending
ci/woodpecker/pr/checks Pipeline is pending
ci/woodpecker/pr/flake-lock-update Pipeline is pending
ci/woodpecker/push/checks Pipeline failed

This commit is contained in:
notohh 2024-01-23 16:29:31 -05:00
parent d1dc3dd74b
commit 2cb4d45976
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -0,0 +1,24 @@
steps:
update:
image: nixos/nix
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix flake update
make-pr:
image: johnwalkerx/gitea-pull-request-create-plugin:latest
pull: true
settings:
gitea_address: https://git.flake.sh/
gitea_token:
from_secret: forgejo_token
owner: ${CI_REPO_OWNER}
repo: ${CI_REPO_NAME}
branch: ${CI_COMMIT_BRANCH}
base_branch: main
pr_title: 'flake.lock: update'
pr_body: PR automatically created by Woodpecker CI
skip_on_missing_branch: true
close_pr_if_empty: true
delete_branch_if_pr_empty: true
merge_when_checks_succeed: false
delete_branch_after_merge: true