ci: fmt
Some checks failed
ci/woodpecker/pr/flake-lock-update Pipeline is pending
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/push/flake-lock-update Pipeline was successful
ci/woodpecker/pr/checks Pipeline failed
ci/woodpecker/cron/flake-lock-update Pipeline is pending
ci/woodpecker/cron/checks Pipeline is running
ci/woodpecker/manual/flake-lock-update Pipeline is pending
ci/woodpecker/manual/checks Pipeline failed

This commit is contained in:
notohh 2024-01-23 17:27:57 -05:00
parent fceb21f0ab
commit 50c4f5c68f
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 12 additions and 12 deletions

View file

@ -1,19 +1,19 @@
steps:
check:
image: nixos/nix
when:
- path:
include: ['*.nix']
exclude: ['*.md', 'docs/**', '.woodpecker/*.yaml', '*.js', '*.lua', '*.scss', '*.nu']
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix flake check
fmt:
image: nixos/nix
when:
- path:
include: ['*.nix']
exclude: ['*.md', 'docs/**', '.woodpecker/*.yaml', '*.js', '*.lua', '*.scss', '*.nu']
fmt:
image: nixos/nix
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix run nixpkgs#alejandra -- -c .
when:
- path:
include: ['*.nix']
exclude: ['*.md', 'docs/**', '.woodpecker/*.yaml', '*.js', '*.lua', '*.scss', '*.nu']

View file

@ -1,15 +1,18 @@
steps:
update:
image: nixos/nix
when:
- event: cron
cron: flake-lock-update
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix flake update
when:
event: cron
cron: "flake-lock-update"
make-pr:
image: johnwalkerx/gitea-pull-request-create-plugin:latest
pull: true
when:
- event: cron
cron: flake-lock-update
settings:
gitea_address: https://git.flake.sh/
gitea_token:
@ -25,6 +28,3 @@ steps:
delete_branch_if_pr_empty: true
merge_when_checks_succeed: false
delete_branch_after_merge: true
when:
event: cron
cron: "flake-lock-update"