Commit 6628b90
Changed files (1)
.woodpecker
.woodpecker/update-flake-lock.yml
@@ -1,47 +0,0 @@
-when:
- - event: [cron, manual]
- cron: "update flake lock"
-
-steps:
- - name: update
- image: docker.io/nixos/nix:2.32.8
- commands:
- - nix flake update --extra-experimental-features "flakes nix-command"
-
- - name: setup-remote
- image: docker.io/alpine/git
- commands:
- - export REPO_URL="https://$${CI_REPO_OWNER}:$${TOKEN}@codeberg.org/$${CI_REPO_OWNER}/$${CI_REPO_NAME}.git"
- - git remote set-url origin "$${REPO_URL}"
- environment:
- TOKEN:
- from_secret: forge_token
-
- - name: push
- image: docker.io/appleboy/drone-git-push:1.2.3
- settings:
- remote_name: origin
- commit: true
- commit_message: "Update Nix flake lock"
- author_name: "Woodpecker-CI [bot]"
- author_email: woodpecker-ci@noreply.example.org
- branch: ci/update-flake-lock
- force: true
-
- - name: create-pr
- image: docker.io/woodpeckercommunity/gitea-pull-request-create-plugin:0.1.3
- settings:
- gitea_address: https://codeberg.org
- gitea_token:
- from_secret: forge_token
- owner: ${CI_REPO_OWNER}
- repo: ${CI_REPO_NAME}
- branch: ci/update-flake-lock
- base_branch: main
- close_pr_if_empty: true
- delete_branch_if_pr_empty: true
- pr_title: "CI: Update Nix flake lock"
- pr_body: |
- PR automatically created by Woodpecker CI.
-
- Update Nix flake lock to latest.