Skip to content

Commit

Permalink
Ignore the shell-profile
Browse files Browse the repository at this point in the history
  • Loading branch information
gm3dmo committed Jan 13, 2024
1 parent aecfe96 commit 728a430
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,5 @@ cython_debug/
actions-runner

environment.json

shell-profile
2 changes: 1 addition & 1 deletion build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ printf "${normal}"
./pwr-add-users-to-team.sh | jq -r '.url'
printf "${highlight} - Adding maintainers to team:${normal}\n"
./add-maintainers-to-team.sh | jq -r '.url'
printf "${highlight} - Creating repo: ${normal}"
printf "${highlight} - Creating repo: ${normal}\n"
./create-repo-testrepo.sh | jq -r '.html_url'
./add-team-to-repo.sh
printf "${highlight} - Creating webhook: ${normal}"
Expand Down
12 changes: 3 additions & 9 deletions create-repo-testrepo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
#
#



case ${default_repo_visibility} in
internal)
private=false
Expand All @@ -17,7 +15,8 @@ case ${default_repo_visibility} in
;;
esac

json_file=tmp/create-repo.json
json_file=tmp/create-testrepo.json


jq -n \
--arg name "${repo}" \
Expand All @@ -42,15 +41,10 @@ jq -n \
has_pages: $has_pages | test("true")
}' > ${json_file}

cat $json_file | jq -r

curl ${curl_custom_flags} \
-H "X-GitHub-Api-Version: ${github_api_version}" \
-H "Accept: application/vnd.github.v3+json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
${GITHUB_API_BASE_URL}/orgs/${org}/repos --data @${json_file}




"${GITHUB_API_BASE_URL}/orgs/${org}/repos" --data @${json_file}
1 change: 0 additions & 1 deletion create-webhook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jq -n \
"code_scanning_alert",
"commit_comment",
"create",
"custom_property_values",
"delete",
"dependabot_alert",
"deploy_key",
Expand Down

0 comments on commit 728a430

Please sign in to comment.