Skip to content

chore: bump tokio from 1.51.1 to 1.52.2 #212

chore: bump tokio from 1.51.1 to 1.52.2

chore: bump tokio from 1.51.1 to 1.52.2 #212

Workflow file for this run

# Generated by tend. 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-review
on:
pull_request_target:
types: [opened, synchronize, ready_for_review, reopened]
jobs:
review:
if: >-
github.event.pull_request.draft == false
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
runs-on: ubuntu-24.04
permissions:
contents: write
pull-requests: write
id-token: write
actions: read
issues: write
steps:
# GitHub only materializes refs/pull/N/merge for mergeable PRs — on
# conflicting PRs it 404s and every downstream step cascades as skipped.
# Probe first and fall back to /head so review always runs; on fallback
# the review sees the PR branch in isolation rather than the post-merge
# tree.
- name: Resolve PR checkout ref
id: pr_ref
env:
GH_TOKEN: ${{ secrets.PRQL_BOT_GITHUB_TOKEN }}
PR: ${{ github.event.pull_request.number }}
run: |
if gh api "repos/${{ github.repository }}/git/ref/pull/$PR/merge" --silent 2>/dev/null; then
echo "ref=refs/pull/$PR/merge" >> "$GITHUB_OUTPUT"
else
echo "ref=refs/pull/$PR/head" >> "$GITHUB_OUTPUT"
echo "::notice::refs/pull/$PR/merge unavailable (likely merge conflict); falling back to /head"
fi
- uses: actions/checkout@v6
with:
ref: ${{ steps.pr_ref.outputs.ref }}
fetch-depth: 0
fetch-tags: true
token: ${{ secrets.PRQL_BOT_GITHUB_TOKEN }}
- uses: ./.github/actions/tend-setup
- uses: max-sixty/tend@v1
with:
github_token: ${{ secrets.PRQL_BOT_GITHUB_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
bot_name: prql-bot
model: opus
use_sticky_comment: true
prompt: >-
${{ format('/tend-ci-runner:review {0}', github.event.pull_request.number) }}