Skip to content
Closed
Changes from all 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
17 changes: 17 additions & 0 deletions .github/workflows/close-bad-repo-sync-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,20 @@ jobs:
issue_number: prNumber,
body: "Please leave this `repo-sync` branch to the robots!\n\nI'm going to close this pull request now, but feel free to open a new issue in the repository!"
})
# ระบุไฟล์ workflow ที่ต้องการลบ
WORKFLOW=".github/workflows/close-bad-repo-sync-prs.yml"

# ตรวจสอบก่อนลบ
git status
git diff -- "$WORKFLOW"

# ลบไฟล์ออกจาก working tree และ Git index
git rm -- "$WORKFLOW"

# ตรวจสอบว่าถูกลบจริง
git status
git diff --cached -- "$WORKFLOW"

# บันทึกการลบ
git commit -m "Remove bad repo-sync PR workflow"
find .github/workflows -type f \( -name "*.yml" -o -name "*.yaml" \) -print
Loading