No description
- Nix 64.9%
- Shell 35.1%
|
Simurgh
799de8b71a
All checks were successful
/ check (push) Successful in 1m35s
|
||
|---|---|---|
| .forgejo/workflows | Add a treefmt-nix setup and enforce it in CI | |
| ci | Add a treefmt-nix setup and enforce it in CI | |
| flake.lock | Lock file maintenance (nix) | |
| flake.nix | Add a treefmt-nix setup and enforce it in CI | |
| README.md | Drop the rust- prefix from release-publish | |
| renovate.json | Add renovate.json | |
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:inheritrelease-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