mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-01-13 16:17:54 +00:00
Delete: Cleanup workflow no longer needed
This commit is contained in:
28
.github/workflows/cleanup-tests.yml
vendored
28
.github/workflows/cleanup-tests.yml
vendored
@@ -1,28 +0,0 @@
|
||||
name: Cleanup Stale Tests
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
cleanup:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- name: Run cleanup script
|
||||
run: node scripts/cleanup-results.js
|
||||
|
||||
- name: Commit and push if changed
|
||||
run: |
|
||||
git config --global user.name 'github-actions[bot]'
|
||||
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
|
||||
git add results.json
|
||||
git diff --staged --quiet || (git commit -m "Chore: Remove stale test results" && git push)
|
||||
Reference in New Issue
Block a user