tend-ci-fix #895
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Generated by tend 0.3.5. Regenerate with: uvx tend@latest init | |
| # | |
| # Do not edit this file directly — it will be overwritten on regeneration. | |
| # To change this workflow, edit .config/tend.yaml. To change what the agent | |
| # does, edit the relevant skill (for example, `running-tend`) in this repo's | |
| # .claude/skills/ directory, or open an issue at | |
| # https://github.com/max-sixty/tend/issues for changes that need to | |
| # happen upstream in the tend-ci-runner plugin. | |
| name: tend-ci-fix | |
| on: | |
| workflow_run: | |
| workflows: ["CI", "Argos"] | |
| types: [completed] | |
| branches: ["main"] | |
| jobs: | |
| fix-ci: | |
| if: github.repository_owner == 'diffplug' && vars.TEND_ENABLED != 'false' && contains(fromJSON('["failure", "cancelled"]'), github.event.workflow_run.conclusion) | |
| concurrency: | |
| # A red branch fails every push that follows, each on its own commit, so | |
| # one session per branch — not per commit — is what collapses the burst. | |
| # The watched workflow is in the key too: a red `publish-site` must not | |
| # starve behind a stream of red `ci`. Never cancel — a running session | |
| # may already have pushed a branch or opened a PR. Default queue depth | |
| # is right: the newest failure replaces the pending one. | |
| group: ${{ github.workflow }}-${{ github.event.workflow_run.name }}-${{ github.event.workflow_run.head_branch }} | |
| cancel-in-progress: false | |
| runs-on: ubuntu-24.04 | |
| environment: | |
| name: tend | |
| deployment: false | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| actions: read | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| ref: main | |
| fetch-depth: 0 | |
| fetch-tags: true | |
| token: ${{ secrets.TEND_BOT_TOKEN }} | |
| - uses: max-sixty/tend/claude@0.3.5 | |
| with: | |
| github_token: ${{ secrets.TEND_BOT_TOKEN }} | |
| merge: restricted | |
| claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} | |
| anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} | |
| bot_name: dormouse-bot | |
| model: opus | |
| checkout_mode: base | |
| base_branch: ${{ github.event.repository.default_branch }} | |
| prompt: |2 | |
| /tend-ci-runner:ci-fix ${{ github.event.workflow_run.id }} | |
| - Run URL: ${{ github.event.workflow_run.html_url }} | |
| - Conclusion: ${{ github.event.workflow_run.conclusion }} | |
| - Commit: ${{ github.event.workflow_run.head_sha }} | |
| - Commit message: ${{ github.event.workflow_run.head_commit.message }} |