Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
ci: Standardize workflow file naming (#67)
Maximilian Roos464647c29b24
diff --git a/.config/lychee.toml b/.config/lychee.tomlindex 7bd9c9cdd..03eece572 100644--- a/.config/lychee.toml+++ b/.config/lychee.toml@@ -1,5 +1,5 @@# Lychee link checker configuration-# Based on PRQL's proven patterns: https://github.com/PRQL/prql+# See: https://lychee.cli.rs/# Network resilience - handles transient failuresmax_retries = 5@@ -16,25 +16,25 @@ max_cache_age = "1d"# Exclude sites that block GitHub Actions or have reliability issuesexclude = [# Social media (blocks GitHub Actions)- "~twitter\\.com",- "~x\\.com",- "~reddit\\.com",+ "twitter\\.com",+ "x\\.com",+ "reddit\\.com",# Sites with reliability issues in CI- "~stackoverflow\\.com",- "~npmjs\\.com",+ "stackoverflow\\.com",+ "npmjs\\.com",# Package registries (frequently return 429 or block CI)- "~crates\\.io",- "~docs\\.rs",- "~img\\.shields\\.io",+ "crates\\.io",+ "docs\\.rs",+ "img\\.shields\\.io",# Sites already excluded in markdown-link-check- "~opensource\\.org",- "~llm\\.datasette\\.io",+ "opensource\\.org",+ "llm\\.datasette\\.io",# Local build artifacts (not checked into git)- "~wt-demo/out/wt-demo\\.gif",+ "wt-demo/out/wt-demo\\.gif",]# Exclude files with relative paths intended for different locationsdiff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yamlsimilarity index 96%rename from .github/workflows/build-docs.ymlrename to .github/workflows/build-docs.yamlindex 5d5891bcc..d335c11a6 100644--- a/.github/workflows/build-docs.yml+++ b/.github/workflows/build-docs.yaml@@ -1,5 +1,3 @@-name: build-docs-on:workflow_call:workflow_dispatch:diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yamlsimilarity index 96%rename from .github/workflows/ci.ymlrename to .github/workflows/ci.yamlindex 16a3bfc88..30dac1a41 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yaml@@ -1,5 +1,3 @@-name: CI-on:push:branches: [ main ]@@ -14,7 +12,6 @@ env:jobs:test:- name: Teststrategy:fail-fast: falsematrix:@@ -109,7 +106,6 @@ jobs:args: --no-depscheck-links:- name: Check linksruns-on: ubuntu-lateststeps:- name: 📂 Checkout code@@ -128,6 +124,13 @@ jobs:- name: Install pre-commitrun: pip install pre-commit+ - name: Cache lychee results+ uses: actions/cache@v4+ with:+ path: .lycheecache+ key: lychee-${{ hashFiles('.config/lychee.toml') }}-${{ github.sha }}+ restore-keys: lychee-${{ hashFiles('.config/lychee.toml') }}-+- name: Get modified markdown filesif: github.event_name == 'pull_request'id: changed-files@@ -146,7 +149,6 @@ jobs:# Check if Cargo files changed (for conditional jobs below)changes:- name: Detect changesruns-on: ubuntu-latestpermissions:contents: read@@ -166,7 +168,6 @@ jobs:- 'rust-toolchain.toml'msrv:- name: MSRVruns-on: ubuntu-latestneeds: changesif: needs.changes.outputs.cargo == 'true' || github.event_name == 'workflow_dispatch'@@ -188,7 +189,6 @@ jobs:run: cargo msrv verifycheck-unused-dependencies:- name: Unused dependenciesruns-on: ubuntu-latestneeds: changesif: needs.changes.outputs.cargo == 'true' || github.event_name == 'workflow_dispatch'@@ -215,7 +215,6 @@ jobs:args: --all-targets --lockedbenchmarks:- name: Benchmarksruns-on: ubuntu-latestneeds: changesif: needs.changes.outputs.cargo == 'true' || github.event_name == 'workflow_dispatch'diff --git a/.github/workflows/claude.yaml b/.github/workflows/claude.yamlindex 794a901b7..117098219 100644--- a/.github/workflows/claude.yaml+++ b/.github/workflows/claude.yaml@@ -1,12 +1,10 @@-name: Claude Code-on:issue_comment:types: [created]pull_request_review_comment:types: [created]-# Consistent with ci.yml for cache compatibility+# Consistent with ci.yaml for cache compatibilityenv:CARGO_TERM_COLOR: alwaysCLICOLOR_FORCE: 1diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yamlsimilarity index 91%rename from .github/workflows/publish-docs.ymlrename to .github/workflows/publish-docs.yamlindex 66421c41b..c7a334556 100644--- a/.github/workflows/publish-docs.yml+++ b/.github/workflows/publish-docs.yaml@@ -1,5 +1,3 @@-name: publish-docs-on:push:branches:@@ -14,7 +12,7 @@ concurrency:jobs:build-docs:- uses: ./.github/workflows/build-docs.yml+ uses: ./.github/workflows/build-docs.yamldeploy-docs:needs: build-docsdiff --git a/.github/workflows/release.yml b/.github/workflows/release.yamlsimilarity index 99%rename from .github/workflows/release.ymlrename to .github/workflows/release.yamlindex 7e8e5b86b..924ced9f7 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yaml@@ -13,7 +13,6 @@# Note that the GitHub Release will be created with a generated# title/body based on your changelogs.-name: Releasepermissions:"contents": "write"@@ -89,7 +88,6 @@ jobs:# Build and packages all the platform-specific thingsbuild-local-artifacts:- name: build-local-artifacts (${{ join(matrix.targets, ', ') }})# Let the initial task tell us to not run (currently very blunt)needs:- plan@@ -279,7 +277,6 @@ jobs:gh release create "${{ needs.plan.outputs.tag }}" --target "$RELEASE_COMMIT" $PRERELEASE_FLAG --title "$ANNOUNCEMENT_TITLE" --notes-file "$RUNNER_TEMP/notes.txt" artifacts/*publish-cargo:- name: Publish to crates.ioneeds:- plan- hostdiff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 3a66a0db5..6b81d305c 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -62,5 +62,5 @@ repos:ci:# pre-commit.ci doesn't have Rust toolchain, so skip Rust-specific hooks.# Network access also isn't supported, so skip lychee.- skip: [fmt, clippy, lychee (PR mode)]+ skip: [fmt, clippy, lychee]autoupdate_commit_msg: "chore: pre-commit autoupdate"diff --git a/README.md b/README.mdindex 54d1dcc11..3efffd10b 100644--- a/README.md+++ b/README.md@@ -6,7 +6,7 @@[](https://crates.io/crates/worktrunk)[](https://opensource.org/licenses/MIT)-[](https://github.com/max-sixty/worktrunk/actions?query=branch%3Amain+workflow%3Aci)+[](https://github.com/max-sixty/worktrunk/actions?query=branch%3Amain+workflow%3Aci)<!-- Dev badges (uncomment when repo is public and has traction) --><!-- [](https://crates.io/crates/worktrunk) -->