From afc205f66b1ca60c5c9f29bbbc087750c60810c3 Mon Sep 17 00:00:00 2001 From: Dmitry Shemetov Date: Fri, 1 Sep 2023 13:33:15 -0700 Subject: [PATCH 1/2] test --- R/auth.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/auth.R b/R/auth.R index 55de667f..d81a2c0b 100644 --- a/R/auth.R +++ b/R/auth.R @@ -10,7 +10,7 @@ get_auth_key <- function() { key <- Sys.getenv("DELPHI_EPIDATA_KEY", unset = "") if (key != "") { - return(key) + return(key) } key <- getOption("delphi.epidata.key", default = "") From afca88a4d97cfa519b63e49d10a2d9ca9eb75508 Mon Sep 17 00:00:00 2001 From: Dmitry Shemetov Date: Fri, 1 Sep 2023 13:37:46 -0700 Subject: [PATCH 2/2] ci: add COLLABORATOR --- .github/workflows/pr-commands.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-commands.yaml b/.github/workflows/pr-commands.yaml index 2367cf1a..e3a277f8 100644 --- a/.github/workflows/pr-commands.yaml +++ b/.github/workflows/pr-commands.yaml @@ -8,7 +8,7 @@ name: Commands jobs: document: - if: ${{ github.event.issue.pull_request && (contains(github.event.comment.author_association, 'MEMBER') || contains(github.event.comment.author_association, 'OWNER')) && startsWith(github.event.comment.body, '/document') }} + if: ${{ github.event.issue.pull_request && (contains(github.event.comment.author_association, 'MEMBER') || contains(github.event.comment.author_association, 'OWNER') || contains(github.event.comment.author_association, 'COLLABORATOR')) && startsWith(github.event.comment.body, '/document') }} name: document runs-on: ubuntu-latest env: @@ -45,7 +45,7 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} style: - if: ${{ github.event.issue.pull_request && (contains(github.event.comment.author_association, 'MEMBER') || contains(github.event.comment.author_association, 'OWNER')) && startsWith(github.event.comment.body, '/document') }} + if: ${{ github.event.issue.pull_request && (contains(github.event.comment.author_association, 'MEMBER') || contains(github.event.comment.author_association, 'OWNER') || contains(github.event.comment.author_association, 'COLLABORATOR')) && startsWith(github.event.comment.body, '/document') }} name: style runs-on: ubuntu-latest env: