Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block manual changes to releases/*.json #73

Open
captn3m0 opened this issue Jan 11, 2023 · 0 comments
Open

Block manual changes to releases/*.json #73

captn3m0 opened this issue Jan 11, 2023 · 0 comments

Comments

@captn3m0
Copy link
Member

I'd like to disable manual commits (non-automated ones) to the releases directory. You can test the code locally and generate changes, but changes to the release files should only be made by the automation that runs.

Pros:

  1. It prevents double commits (you commit one file, and the automation generates it over again, such as on this PR)
  2. Automation is always tested this way.

unsure how to enforce this, think GitHub restrictions might work here (will automatically avoid pushes). Could probably setup pre-commit hooks to ignore JSON files as well.

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

No branches or pull requests

1 participant