From e109fe0cef2443556592bfe851c1d609859f11bf Mon Sep 17 00:00:00 2001 From: Ross Buggins Date: Wed, 22 May 2024 10:14:19 +0100 Subject: [PATCH] add github to allowed words. --- .github/README.md | 6 +++--- scripts/config/vale/styles/Vocab/words/accept.txt | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/README.md b/.github/README.md index cd2be5d9..1821a1c7 100644 --- a/.github/README.md +++ b/.github/README.md @@ -2,10 +2,10 @@ ## Branch Protection Rules -This will create the default branch protection rules using github API. +This will create the default branch protection rules using Github API. -``` +```sh ./branch-protection.sh $reponame $PAT ``` -PAT must have `administration:write`. https://docs.github.com/en/rest/repos/rules?apiVersion=2022-11-28#create-a-repository-ruleset +PAT must have `administration:write`. [Create a repository rule set](https://docs.github.com/en/rest/repos/rules?apiVersion=2022-11-28#create-a-repository-ruleset) diff --git a/scripts/config/vale/styles/Vocab/words/accept.txt b/scripts/config/vale/styles/Vocab/words/accept.txt index eb9cd04e..dccae85c 100644 --- a/scripts/config/vale/styles/Vocab/words/accept.txt +++ b/scripts/config/vale/styles/Vocab/words/accept.txt @@ -15,3 +15,4 @@ idempotence onboarding toolchain [A-Z]+s +Github