Skip to content

Commit

Permalink
Merge pull request #84 from NASA-Openscapes/create-gh-team
Browse files Browse the repository at this point in the history
Create gh team
  • Loading branch information
jules32 authored Nov 16, 2021
2 parents ff558d1 + 48d7b20 commit 1b00574
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions _create_github_team.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
title: Create Hackathon GitHub Team
---

This was used to automate adding 41 github usernames to the cloud hackathon github team. Further refinement needed

Automated kyber here: <https://github.com/openscapes/kyber>

```{r}
# First make sure to set your GitHub PAT
Sys.setenv(GITHUB_PAT = "")
# usethis::create_github_token()
library(kyber) # remotes::install_github("openscapes/kyber@main")
library(rmarkdown)
library(tibble)
library(fs)
library(datapasta)
members <- tibble::tribble(
# pasted here from internal spreadsheet
# ~Name, ~GitHub_username,
)
## ideally, strip any "@"s and remove NAs
# for the moment did this by hand.
team_name <- "2021-cloud-hackathon-participants"
ky_create_team(team_name, org = "nasa-openscapes", maintainers = "jules32")
ky_add_team_members(team_name, members = members$GitHub_username, org = "nasa-openscapes")
```

0 comments on commit 1b00574

Please sign in to comment.