chore: add temporary remaining review workflow
This commit is contained in:
@@ -0,0 +1,30 @@
|
|||||||
|
name: Temporary remaining review fixes
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
paths:
|
||||||
|
- tools/apply_remaining_review_fixes.py
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
apply:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Apply remaining review fixes
|
||||||
|
run: python tools/apply_remaining_review_fixes.py
|
||||||
|
- name: Commit fixes and remove temporary files
|
||||||
|
run: |
|
||||||
|
git config user.name "github-actions[bot]"
|
||||||
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
|
git rm -f tools/apply_remaining_review_fixes.py .github/workflows/temp-remaining-review-fixes.yml
|
||||||
|
git add -A
|
||||||
|
if git diff --cached --quiet; then
|
||||||
|
echo "No changes to commit"
|
||||||
|
else
|
||||||
|
git commit -m "refactor: harden registration runtime"
|
||||||
|
git push
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user