1
0
Fork
You've already forked workflows
0
No description
  • Nix 64.9%
  • Shell 35.1%
2026年07月13日 02:14:31 +02:00
.forgejo/workflows Add a treefmt-nix setup and enforce it in CI 2026年07月09日 14:49:39 +02:00
ci Add a treefmt-nix setup and enforce it in CI 2026年07月09日 14:49:39 +02:00
flake.lock Lock file maintenance (nix) 2026年07月13日 00:15:24 +02:00
flake.nix Add a treefmt-nix setup and enforce it in CI 2026年07月09日 14:49:39 +02:00
README.md Drop the rust- prefix from release-publish 2026年07月09日 14:37:03 +02:00
renovate.json Add renovate.json 2026年07月09日 15:01:14 +02:00

workflows

Reusable Forgejo Actions workflows for my Rust repos, called via workflow_call.

rust-release-prepare

Bumps Cargo.toml and Cargo.lock via cargo set-version --workspace, pushes a release/vX.Y.Z branch as simurgh, opens a PR and arms automerge. Needs the SIMURGH_TOKEN secret: Forgejo drops events whose doer is the built-in actions bot, so the automatic token would leave the release PR without CI and automerge stuck.

Caller shim:

on:workflow_dispatch:inputs:bump:description:SemVer incrementtype:choiceoptions:[patch, minor, major]default:patchenable-email-notifications:truejobs:prepare:uses:r-vdp/workflows/.forgejo/workflows/rust-release-prepare.yaml@mainwith:bump:${{ inputs.bump }}secrets:inherit

release-publish

Tags the merge commit when a release PR merges. Guarded to same-repo PRs authored by simurgh or the repo owner, so a mis-named release/v* branch from anyone else cannot cut a release.

Caller shim:

on:pull_request:types:[closed]enable-email-notifications:truejobs:publish:uses:r-vdp/workflows/.forgejo/workflows/release-publish.yaml@main