Skip to content

Commit 1542aa1

Browse files
committed
chore: wip
1 parent 3ef3bcc commit 1542aa1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/buddy-bot.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ jobs:
150150
git config --global user.name "github-actions[bot]"
151151
git config --global user.email "github-actions[bot]@users.noreply.github.com"
152152
153-
# Rebase check job
154-
rebase-check:
153+
# Check job (handles both rebase requests and auto-closing PRs)
154+
check:
155155
runs-on: ubuntu-latest
156156
needs: [determine-jobs, setup]
157157
if: ${{ needs.determine-jobs.outputs.run_check == 'true' }}
@@ -189,9 +189,9 @@ jobs:
189189
echo "✅ Using BUDDY_BOT_TOKEN (full permissions)"
190190
fi
191191
192-
- name: Check for rebase requests
192+
- name: Check for PRs that need attention
193193
run: |
194-
echo "🔍 Checking for PRs with rebase checkbox enabled..."
194+
echo "🔍 Checking for PRs that need attention (rebase requests or auto-closing)..."
195195
echo "🔧 Environment info:"
196196
echo "Current directory: $(pwd)"
197197
echo "GITHUB_TOKEN set: $([[ -n "$GITHUB_TOKEN" ]] && echo "Yes" || echo "No")"
@@ -214,10 +214,10 @@ jobs:
214214
GITHUB_TOKEN: ${{ secrets.BUDDY_BOT_TOKEN || secrets.GITHUB_TOKEN }}
215215
BUDDY_BOT_TOKEN: ${{ secrets.BUDDY_BOT_TOKEN }}
216216

217-
- name: Create rebase check summary
217+
- name: Create check summary
218218
if: always()
219219
run: |
220-
echo "## 🔄 Rebase Check Summary" >> $GITHUB_STEP_SUMMARY
220+
echo "## 🔍 Check Summary" >> $GITHUB_STEP_SUMMARY
221221
echo "" >> $GITHUB_STEP_SUMMARY
222222
echo "- **Triggered by**: ${{ github.event_name }}" >> $GITHUB_STEP_SUMMARY
223223
echo "- **Dry run**: ${{ github.event.inputs.dry_run || 'false' }}" >> $GITHUB_STEP_SUMMARY
@@ -231,7 +231,7 @@ jobs:
231231
fi
232232
233233
echo "" >> $GITHUB_STEP_SUMMARY
234-
echo "📋 View detailed logs above for rebase results." >> $GITHUB_STEP_SUMMARY
234+
echo "📋 View detailed logs above for check results (rebase requests and auto-closing)." >> $GITHUB_STEP_SUMMARY
235235
236236
# Dependency update job
237237
dependency-update:

0 commit comments

Comments
 (0)