From c2ebfc5587f39a7842cb787ea79f3b29310d937d Mon Sep 17 00:00:00 2001 From: Claude Code Date: Sat, 20 Jun 2026 23:07:04 +0000 Subject: [PATCH] Stop auto-flagging monthly audit issues as input required - Remove the "Post initial comment" step from monthly-audit.yml; the comment duplicated the issue body and its Claude footer caused input-required-label.yml to mark fresh audit issues as awaiting human - Ignore github-actions[bot] comments in input-required-label.yml so no future automated comment can re-trigger the spurious label Part of herve-quiroz/claude_code_environment#357. --- .github/workflows/input-required-label.yml | 1 + .github/workflows/monthly-audit.yml | 11 ----------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/input-required-label.yml b/.github/workflows/input-required-label.yml index c7a8d1d..12c489d 100644 --- a/.github/workflows/input-required-label.yml +++ b/.github/workflows/input-required-label.yml @@ -42,6 +42,7 @@ jobs: function getLastSubstantiveComment(comments) { // Filter out dependency status comments and other automated comments const substantiveComments = comments.filter(c => + c.user.login !== 'github-actions[bot]' && !c.body.includes('## 🔗 Dependency Status') && !c.body.includes('*This comment is automatically updated by') ); diff --git a/.github/workflows/monthly-audit.yml b/.github/workflows/monthly-audit.yml index f65281c..48034f7 100644 --- a/.github/workflows/monthly-audit.yml +++ b/.github/workflows/monthly-audit.yml @@ -126,14 +126,3 @@ jobs: issue_number="${issue_url##*/}" echo "issue_number=$issue_number" >> $GITHUB_OUTPUT - - - name: Post initial comment - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - gh issue comment ${{ steps.create_issue.outputs.issue_number }} --body "Monthly audit issue created. Please review the repository activity summary above and follow the audit tasks. - - When ready, Claude will analyze the activity and post findings as a comment. - - --- - ✨ Content generated by Claude AI."