Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 15 additions & 16 deletions .github/workflows/inbox-steward-intake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

steps:
- name: Checkout hypatia
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
token: ${{ secrets.FARM_PAT }}
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:

steps:
- name: Checkout hypatia
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
token: ${{ secrets.FARM_PAT }}
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:

steps:
- name: Checkout hypatia
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
token: ${{ secrets.FARM_PAT }}
Expand Down Expand Up @@ -298,7 +298,7 @@ jobs:

steps:
- name: Checkout hypatia
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Send dispatch to .git-private-farm
env:
Expand Down Expand Up @@ -344,7 +344,6 @@ jobs:
summary:
name: Generate intake summary
runs-on: ubuntu-latest
timeout-minutes: 30
needs: [record-report, analyze-patterns, update-ruleset, dispatch-to-farm]
if: always()

Expand Down Expand Up @@ -394,31 +393,31 @@ jobs:

| Metric | Value |
|--------|-------|
| Source Repo | $REPO |
| PRs Checked | $PR_COUNT |
| Validated | $VALIDATED |
| Auto-Merged | $MERGED |
| Source Repo | ${{ needs.record-report.outputs.repo }} |
| PRs Checked | ${{ needs.record-report.outputs.pr_count }} |
| Validated | ${{ needs.record-report.outputs.validated_count }} |
| Auto-Merged | ${{ needs.record-report.outputs.merged_count }} |

## Analysis Results

$ANALYSIS_STATUS
${{ needs.analyze-patterns.result == 'success' && echo 'βœ… Pattern analysis completed' || echo '❌ Pattern analysis failed' }}

| Analysis | Status |
|----------|--------|
| Common file types | Identified |
| Workflow changes | $FILE_TYPES |
| Rule updates suggested | $RULE_COUNT |
| Workflow changes | ${{ needs.analyze-patterns.outputs.patterns != '{}' && echo $(echo '${{ needs.analyze-patterns.outputs.patterns }}' | jq -r '.file_types // "N/A" | head -c 50) || echo 'N/A' }} |
| Rule updates suggested | ${{ needs.analyze-patterns.outputs.rule_updates != '[]' && echo $(echo '${{ needs.analyze-patterns.outputs.rule_updates }}' | jq length) || echo '0' }} |

## Actions Taken

1. βœ… Recorded steward report
2. $([[ "$ANALYSIS_RESULT" = "success" ]] && echo "βœ…" || echo "❌") Analyzed patterns from merged PRs
3. $([[ "$UPDATE_RESULT" = "success" ]] && echo "βœ…" || echo "❌") Updated Hypatia ruleset
4. $([[ "$DISPATCH_RESULT" = "success" ]] && echo "βœ…" || echo "❌") Dispatched to .git-private-farm
${{ needs.analyze-patterns.result == 'success' && echo '2. βœ… Analyzed patterns from merged PRs' || echo '2. ❌ Pattern analysis failed' }}
${{ needs.update-ruleset.result == 'success' && echo '3. βœ… Updated Hypatia ruleset' || echo '3. ❌ Ruleset update failed' }}
${{ needs.dispatch-to-farm.result == 'success' && echo '4. βœ… Dispatched to .git-private-farm' || echo '4. ❌ Dispatch to farm failed' }}

## Rule Updates Applied

$RULE_LIST
${{ needs.update-ruleset.result == 'success' && needs.analyze-patterns.outputs.rule_updates != '[]' && echo $(echo '${{ needs.analyze-patterns.outputs.rule_updates }}' | jq -r '.[] | "- [\(.priority | ascii_upcase)] \(.type): \(.suggestion)" | join("\n")') || echo 'None' }}

---
*Generated by Inbox Steward Intake workflow*
Expand Down