The open source coding agent.
TypeScript
ci: filter daily recaps to community-only and fix vouch workflow authentication (#12910)
Ryan Vogel20cf3fc679de
diff --git a/.github/workflows/daily-issues-recap.yml b/.github/workflows/daily-issues-recap.ymlindex 79543fcb190..31cf08233b9 100644--- a/.github/workflows/daily-issues-recap.yml+++ b/.github/workflows/daily-issues-recap.yml@@ -48,8 +48,12 @@ jobs:TODAY'S DATE: ${TODAY}STEP 1: Gather today's issues- Search for all issues created today (${TODAY}) using:- gh issue list --repo ${{ github.repository }} --state all --search \"created:${TODAY}\" --json number,title,body,labels,state,comments,createdAt,author --limit 500+ Search for all OPEN issues created today (${TODAY}) using:+ gh issue list --repo ${{ github.repository }} --state open --search \"created:${TODAY}\" --json number,title,body,labels,state,comments,createdAt,author --limit 500++ IMPORTANT: EXCLUDE all issues authored by Anomaly team members. Filter out issues where the author login matches ANY of these:+ adamdotdevin, Brendonovich, fwang, Hona, iamdavidhill, jayair, kitlangton, kommander, MrMushrooooom, R44VC0RP, rekram1-node, thdxr+ This recap is specifically for COMMUNITY (external) issues only.STEP 2: Analyze and categorizeFor each issue created today, categorize it:diff --git a/.github/workflows/daily-pr-recap.yml b/.github/workflows/daily-pr-recap.ymlindex 7ca94bd2378..2f0f023cfd0 100644--- a/.github/workflows/daily-pr-recap.yml+++ b/.github/workflows/daily-pr-recap.yml@@ -47,14 +47,18 @@ jobs:TODAY'S DATE: ${TODAY}STEP 1: Gather PR data- Run these commands to gather PR information. ONLY include PRs created or updated TODAY (${TODAY}):+ Run these commands to gather PR information. ONLY include OPEN PRs created or updated TODAY (${TODAY}):- # PRs created today- gh pr list --repo ${{ github.repository }} --state all --search \"created:${TODAY}\" --json number,title,author,labels,createdAt,updatedAt,reviewDecision,isDraft,additions,deletions --limit 100+ # Open PRs created today+ gh pr list --repo ${{ github.repository }} --state open --search \"created:${TODAY}\" --json number,title,author,labels,createdAt,updatedAt,reviewDecision,isDraft,additions,deletions --limit 100- # PRs with activity today (updated today)+ # Open PRs with activity today (updated today)gh pr list --repo ${{ github.repository }} --state open --search \"updated:${TODAY}\" --json number,title,author,labels,createdAt,updatedAt,reviewDecision,isDraft,additions,deletions --limit 100+ IMPORTANT: EXCLUDE all PRs authored by Anomaly team members. Filter out PRs where the author login matches ANY of these:+ adamdotdevin, Brendonovich, fwang, Hona, iamdavidhill, jayair, kitlangton, kommander, MrMushrooooom, R44VC0RP, rekram1-node, thdxr+ This recap is specifically for COMMUNITY (external) contributions only.+STEP 2: For high-activity PRs, check comment countsdiff --git a/.github/workflows/vouch-manage-by-issue.yml b/.github/workflows/vouch-manage-by-issue.ymlindex 863a8a8465c..cf0524c21a8 100644--- a/.github/workflows/vouch-manage-by-issue.yml+++ b/.github/workflows/vouch-manage-by-issue.yml@@ -18,10 +18,20 @@ jobs:runs-on: ubuntu-lateststeps:- uses: actions/checkout@v4+ with:+ persist-credentials: false+ fetch-depth: 0++ - name: Setup git committer+ id: committer+ uses: ./.github/actions/setup-git-committer+ with:+ opencode-app-id: ${{ vars.OPENCODE_APP_ID }}+ opencode-app-secret: ${{ secrets.OPENCODE_APP_SECRET }}- uses: mitchellh/vouch/action/manage-by-issue@mainwith:issue-id: ${{ github.event.issue.number }}comment-id: ${{ github.event.comment.id }}env:- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ GITHUB_TOKEN: ${{ steps.committer.outputs.token }}