Skip to content

ci: add guard for accidental generated issue script commits (#999) - #1096

Merged
edehvictor merged 1 commit into
edehvictor:mainfrom
sojetunde8:fix/issue-999
Jul 29, 2026
Merged

ci: add guard for accidental generated issue script commits (#999)#1096
edehvictor merged 1 commit into
edehvictor:mainfrom
sojetunde8:fix/issue-999

Conversation

@sojetunde8

Copy link
Copy Markdown
Contributor

Closes #999

Summary

  • Adds a scripts/check-generated-files.js script that detects forbidden generated paths (issue.md, pr.md) in the branch diff
  • Adds a Generated Files Guard CI job to ci.yml that runs the check and blocks merging if violations are found
  • Documents the guard, the location of maintainer scripts, and recovery steps in the contributor guide

Testing

  • Ran node scripts/check-generated-files.js locally on a clean branch — exits 0 with confirmation message
  • CI will validate the guard by running on this PR's branch

@sojetunde8
sojetunde8 requested a review from edehvictor as a code owner July 26, 2026 23:35
@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

@sojetunde8 is attempting to deploy a commit to the Edeh Victor's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jul 26, 2026

Copy link
Copy Markdown

@sojetunde8 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

sojetunde8 pushed a commit to sojetunde8/StellarYield that referenced this pull request Jul 29, 2026
…e script commits

Resolved conflicts:
- .github/workflows/ci.yml: deleted (HEAD had already deleted it, PR modified it)
- docs/contributor-guide.md: auto-merged (PR adds documentation)
- scripts/check-generated-files.js: auto-merged (new file)
@edehvictor
edehvictor merged commit 5a1946f into edehvictor:main Jul 29, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add CI guard for accidental generated issue script commits

2 participants