[BOUNTY: 12 RTC] BoTTube API: shared query-param validator — fix malformed-param coercion across 4 endpoints (#1456 #1436 #1435 #1468) #65474
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
| name: Auto Triage Claims | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "17 * * * *" | |
| issue_comment: | |
| types: [created, edited] | |
| permissions: | |
| contents: read | |
| issues: write | |
| jobs: | |
| triage: | |
| if: github.event_name != 'issue_comment' || contains(fromJson('[74,47,87,103,122,157,158]'), github.event.issue.number) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.11" | |
| - name: Run Auto Triage | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| # Optional: a fine-grained PAT (public repo read access is enough) | |
| # used only for cross-repo star checks (Rustchain, bottube, | |
| # beacon-skill). The default Actions GITHUB_TOKEN cannot list | |
| # stargazers on any repo other than the one running the workflow | |
| # (GitHub returns 403 "Resource not accessible by integration" | |
| # even though the repos are public). Without this secret, the | |
| # script still runs fine, it just marks star-gated claims as | |
| # `star_check_unavailable` instead of verifying them. Set the | |
| # STAR_CHECK_TOKEN repo secret to restore real verification. | |
| STAR_CHECK_TOKEN: ${{ secrets.STAR_CHECK_TOKEN }} | |
| SINCE_HOURS: "168" | |
| LEDGER_REPO: "rustchain-bounties" | |
| LEDGER_ISSUE: "104" | |
| run: | | |
| python3 scripts/auto_triage_claims.py |