mirror of
https://github.com/kuhyx/praca_magisterska.git
synced 2026-07-04 13:43:05 +02:00
Clarify placeholder variables in branch protection CLI command
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
This commit is contained in:
parent
62d22cf321
commit
eaac4a37af
6
.github/BRANCH_PROTECTION.md
vendored
6
.github/BRANCH_PROTECTION.md
vendored
@ -55,7 +55,13 @@ This creates 16 test matrix jobs (2×2×2×2) that must all pass before a pull r
|
||||
|
||||
### Via GitHub CLI (requires admin permissions)
|
||||
|
||||
Replace `{owner}` with your GitHub username/organization and `{repo}` with your repository name:
|
||||
|
||||
```bash
|
||||
# Example: For repository https://github.com/kuhyx/praca_magisterska
|
||||
# Replace {owner} with: kuhyx
|
||||
# Replace {repo} with: praca_magisterska
|
||||
|
||||
gh api repos/{owner}/{repo}/branches/main/protection \
|
||||
--method PUT \
|
||||
--field required_status_checks[strict]=true \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user