Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicholasgriffintn/repo-scripts
Scripts for repos
https://github.com/nicholasgriffintn/repo-scripts
Last synced: about 1 month ago
JSON representation
Scripts for repos
- Host: GitHub
- URL: https://github.com/nicholasgriffintn/repo-scripts
- Owner: nicholasgriffintn
- License: unlicense
- Created: 2023-10-02T22:36:31.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-02T22:49:21.000Z (about 1 year ago)
- Last Synced: 2024-04-22T05:10:37.257Z (7 months ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Repo Scripts
This a repo that contains various scripts that I use to automate tasks against GitHub repos, such as creating new rulesets or running tasks from CI for example.
Here's a list of the scripts and what they do:
- `./scripts/change-freeze.js`
When provided the flag `--enable`, it will create a new ruleset in the defined repo that will prevent any changes from being made to the repo. When provided the flag `--disable`, it will remove the ruleset from the repo.
By default, it allows the org and repo admins to bypass this.
It also targets a specific set of branches, currently defined only for the `main` branch.