Skip to content

tend-ci-fix

tend-ci-fix #615

Workflow file for this run

# Generated by tend 0.1.24. Regenerate with: uvx tend@latest init
#
# Do not edit this file directly — it will be overwritten on regeneration.
# To customize behavior, 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: ["tests"]
types: [completed]
branches: ["main"]
jobs:
fix-ci:
if: github.repository_owner == 'PRQL' && github.event.workflow_run.conclusion == 'failure'
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: ./.github/actions/tend-setup
- uses: max-sixty/tend/claude@0.1.24
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
bot_name: prql-bot
model: opus
sandbox_setup: |2
mkdir -p ~/.local/bin
curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ~/.local/bin
cargo-nextest --version
curl -LsSf https://github.com/mitsuhiko/insta/releases/latest/download/cargo-insta-installer.sh | CARGO_HOME=~/.local sh
cargo-insta --version
prompt: |2
/tend-ci-runner:ci-fix ${{ github.event.workflow_run.id }}
- Run URL: ${{ github.event.workflow_run.html_url }}
- Commit: ${{ github.event.workflow_run.head_sha }}
- Commit message: ${{ github.event.workflow_run.head_commit.message }}