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
16 changes: 10 additions & 6 deletions .github/workflows/flaky-monitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ jobs:
cd ..
fi

# Copy history to processing dir
# (Ignore errors if empty)
cp flaky-history/*.json all-reports/ 2>/dev/null || true

# Process current run artifacts
# Rename to avoid collisions and track run ID
# We expect files like ctrf-tavern-ubuntu-latest.json
Expand All @@ -75,8 +71,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
report-path: 'all-reports/*.json'
upload-artifact: true
fetch-previous-results: false # Using orphan branch instead
upload-artifact: false
fetch-previous-results: true
pull-request: false
issue: ${{ steps.pr_info.outputs.pr_number }}
overwrite-comment: true
Expand Down Expand Up @@ -127,3 +123,11 @@ jobs:

# Push to the orphan branch
git push origin flaky-monitor-results

- name: 📤 Upload History Artifact
if: ${{ github.event.workflow_run.head_branch == 'main' }}
uses: actions/upload-artifact@v4
with:
name: flaky-report
path: flaky-history/
overwrite: true
Loading