Skip to content

Commit 86947b5

Browse files
committed
fix: resolve linting issues
1 parent 96e30c6 commit 86947b5

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

gh-cli/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ Use the [get-enterprise-id.sh](./get-enterprise-id.sh) or [get-organization-id.s
108108

109109
See the [docs](https://docs.github.com/en/graphql/reference/mutations#createipallowlistentry) for further information.
110110

111+
### add-team-to-repositories-from-list.sh
112+
113+
This script adds a specified team to a list of repositories with specified permissions.
114+
111115
### add-team-to-repository.sh
112116

113117
Adds a team to a repository with a given permission level

gh-cli/add-team-to-repos-from-list.sh renamed to gh-cli/add-team-to-repositories-from-list.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@
77
## repo3,pull
88
##
99
## Usage:
10-
## ./add-team-to-repos-from-list.sh <organization> <team_slug> <repo_list_file>
10+
## ./add-team-to-repositories-from-list.sh <organization> <team_slug> <repo_list_file>
1111
##
1212
## Arguments:
1313
## organization - The GitHub organization name
1414
## team_slug - The slug of the team to add to the repositories
1515
## repo_list_file - The file containing the list of repositories and permissions
1616
##
1717
## Example:
18-
## ./add-team-to-repos-from-list.sh my-org my-team repos.csv
18+
## ./add-team-to-repositories-from-list.sh my-org my-team repos.csv
1919
##
2020
## Where repos.csv contains:
2121
## repo1,admin
2222
## repo2,push
2323
## repo3,pull
2424
##
25-
## The available permissions for adding a team to repositories using the add-team-to-repos-from-list.sh script are:
25+
## The available permissions for adding a team to repositories using the add-team-to-repositories-from-list.sh script are:
2626
##
2727
## pull - Read-only access to the repository.
2828
## push - Read and write access to the repository.
@@ -72,4 +72,4 @@ while IFS=, read -r REPO PERMISSION; do
7272
echo "Failed to add team '$TEAM_SLUG' to repository '$REPO' with permission '$PERMISSION'"
7373
fi
7474
fi
75-
done < "$REPO_LIST_FILE"
75+
done < "$REPO_LIST_FILE"

0 commit comments

Comments
 (0)