Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Regenerate tend workflows (#1796)

Maximilian Rooseb1ed963816d
diff --git a/.config/tend.toml b/.config/tend.toml
index a54391244..b71d6e213 100644
--- a/.config/tend.toml
+++ b/.config/tend.toml
@@ -1,11 +1,13 @@
bot_name = "worktrunk-bot"
+setup = [
+ {uses = "./.github/actions/claude-setup"},
+]
+
[secrets]
bot_token = "WORKTRUNK_BOT_TOKEN"
claude_token = "CLAUDE_CODE_OAUTH_TOKEN"
-
-[setup]
-uses = ["./.github/actions/claude-setup"]
+allowed = ["CODECOV_TOKEN"]
[workflows.ci-fix]
watched_workflows = ["ci", "publish-docs"]
diff --git a/.github/workflows/tend-ci-fix.yaml b/.github/workflows/tend-ci-fix.yaml
index c648f4f4d..2cb3d09d4 100644
--- a/.github/workflows/tend-ci-fix.yaml
+++ b/.github/workflows/tend-ci-fix.yaml
@@ -5,7 +5,7 @@ on:
workflow_run:
workflows: ["ci", "publish-docs"]
types: [completed]
- branches: [main]
+ branches: ["main"]
jobs:
fix-ci:
@@ -20,7 +20,6 @@ jobs:
steps:
- uses: actions/checkout@v6
with:
- ref: main
fetch-depth: 0
fetch-tags: true
token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}
diff --git a/.github/workflows/tend-mention.yaml b/.github/workflows/tend-mention.yaml
index af5d66afa..3a6eba23c 100644
--- a/.github/workflows/tend-mention.yaml
+++ b/.github/workflows/tend-mention.yaml
@@ -6,6 +6,7 @@ on:
types: [edited]
issue_comment:
types: [created, edited]
+ # Works for same-repo PRs only; secrets unavailable on fork PRs (no _target variant exists)
pull_request_review_comment:
types: [created, edited]
@@ -108,6 +109,9 @@ jobs:
handle:
needs: verify
if: needs.verify.outputs.should_run == 'true'
+ concurrency:
+ group: ${{ github.workflow }}-handle-${{ github.event.issue.number || github.event.pull_request.number }}
+ cancel-in-progress: true
runs-on: ubuntu-24.04
timeout-minutes: 60
permissions:
diff --git a/.github/workflows/tend-nightly.yaml b/.github/workflows/tend-nightly.yaml
index 10a713458..6812b2ab6 100644
--- a/.github/workflows/tend-nightly.yaml
+++ b/.github/workflows/tend-nightly.yaml
@@ -3,7 +3,7 @@
name: tend-nightly
on:
schedule:
- - cron: '17 6 * * *'
+ - cron: "17 6 * * *"
workflow_dispatch:
jobs:
@@ -19,7 +19,6 @@ jobs:
steps:
- uses: actions/checkout@v6
with:
- ref: main
fetch-depth: 0
fetch-tags: true
token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}
diff --git a/.github/workflows/tend-renovate.yaml b/.github/workflows/tend-renovate.yaml
index 0de025f23..78529403c 100644
--- a/.github/workflows/tend-renovate.yaml
+++ b/.github/workflows/tend-renovate.yaml
@@ -3,7 +3,7 @@
name: tend-renovate
on:
schedule:
- - cron: '17 9 * * 0'
+ - cron: "17 9 * * 0"
workflow_dispatch:
jobs:
@@ -19,7 +19,6 @@ jobs:
steps:
- uses: actions/checkout@v6
with:
- ref: main
fetch-depth: 0
fetch-tags: true
token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}
diff --git a/.github/workflows/tend-triage.yaml b/.github/workflows/tend-triage.yaml
index b29f1affa..50e7712be 100644
--- a/.github/workflows/tend-triage.yaml
+++ b/.github/workflows/tend-triage.yaml
@@ -25,7 +25,6 @@ jobs:
steps:
- uses: actions/checkout@v6
with:
- ref: main
fetch-depth: 0
fetch-tags: true
token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}