From dbfda0ff3cde9891599d2dbfbfe2b7f37b1bfc39 Mon Sep 17 00:00:00 2001 From: Dinakar <26552821+dinakar29@users.noreply.github.com> Date: Thu, 7 Oct 2021 18:34:02 -0500 Subject: [PATCH] Update staged.dependencies version to v0.2.2 (#301) --- .github/workflows/build-check-install.yaml | 4 ++-- .github/workflows/pkgdown.yml | 4 ++-- .github/workflows/roxygen.yaml | 6 +++--- .github/workflows/stageddeps-consistency-check.yaml | 6 +++--- .github/workflows/test-coverage.yaml | 6 +++--- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-check-install.yaml b/.github/workflows/build-check-install.yaml index 4ef390ec21..de1808bac2 100644 --- a/.github/workflows/build-check-install.yaml +++ b/.github/workflows/build-check-install.yaml @@ -36,7 +36,7 @@ jobs: shell: bash - name: Gather info from PR - uses: actions/github-script@v4 + uses: actions/github-script@v5 id: get-pr if: github.event_name == 'pull_request' with: @@ -48,7 +48,7 @@ jobs: } core.info(`Getting PR #${request.pull_number} from ${request.owner}/${request.repo}`) try { - const result = await github.pulls.get(request) + const result = await github.rest.pulls.get(request) return result.data } catch (err) { core.setFailed(`Request failed with error ${err}`) diff --git a/.github/workflows/pkgdown.yml b/.github/workflows/pkgdown.yml index eb16b0ae88..abcba6c18b 100755 --- a/.github/workflows/pkgdown.yml +++ b/.github/workflows/pkgdown.yml @@ -30,7 +30,7 @@ jobs: uses: actions/checkout@v2 - name: Gather info from PR - uses: actions/github-script@v4 + uses: actions/github-script@v5 id: get-pr if: github.event_name == 'pull_request' with: @@ -42,7 +42,7 @@ jobs: } core.info(`Getting PR #${request.pull_number} from ${request.owner}/${request.repo}`) try { - const result = await github.pulls.get(request) + const result = await github.rest.pulls.get(request) return result.data } catch (err) { core.setFailed(`Request failed with error ${err}`) diff --git a/.github/workflows/roxygen.yaml b/.github/workflows/roxygen.yaml index e5426ee505..c78d0476fc 100644 --- a/.github/workflows/roxygen.yaml +++ b/.github/workflows/roxygen.yaml @@ -16,7 +16,7 @@ jobs: steps: - name: Gather info from PR - uses: actions/github-script@v4 + uses: actions/github-script@v5 id: get-pr if: github.event_name == 'pull_request' with: @@ -28,7 +28,7 @@ jobs: } core.info(`Getting PR #${request.pull_number} from ${request.owner}/${request.repo}`) try { - const result = await github.pulls.get(request) + const result = await github.rest.pulls.get(request) return result.data } catch (err) { core.setFailed(`Request failed with error ${err}`) @@ -97,7 +97,7 @@ jobs: if (file.exists("staged_dependencies.yaml")) { cat("\nInstall Staged Dependencies\n\n\n") if (!require("staged.dependencies")) { - remotes::install_github("openpharma/staged.dependencies", ref = "v0.2.1", Ncpus = ncores, upgrade = "never") + remotes::install_github("openpharma/staged.dependencies", ref = "v0.2.2", Ncpus = ncores, upgrade = "never") } cat("\nCalculating Staged Dependency Table...\n\n") x <- staged.dependencies::dependency_table() diff --git a/.github/workflows/stageddeps-consistency-check.yaml b/.github/workflows/stageddeps-consistency-check.yaml index a9cbf153df..ab62505252 100644 --- a/.github/workflows/stageddeps-consistency-check.yaml +++ b/.github/workflows/stageddeps-consistency-check.yaml @@ -16,7 +16,7 @@ jobs: steps: - name: Gather info from PR - uses: actions/github-script@v4 + uses: actions/github-script@v5 id: get-pr if: github.event_name == 'pull_request' with: @@ -28,7 +28,7 @@ jobs: } core.info(`Getting PR #${request.pull_number} from ${request.owner}/${request.repo}`) try { - const result = await github.pulls.get(request) + const result = await github.rest.pulls.get(request) return result.data } catch (err) { core.setFailed(`Request failed with error ${err}`) @@ -72,7 +72,7 @@ jobs: if (file.exists("staged_dependencies.yaml")) { cat("\nInstall Staged Dependencies\n\n\n") if (!require("staged.dependencies")) { - remotes::install_github("openpharma/staged.dependencies", ref = "v0.2.1", Ncpus = ncores, upgrade = "never") + remotes::install_github("openpharma/staged.dependencies", ref = "v0.2.2", Ncpus = ncores, upgrade = "never") } cat("\nCalculating Staged Dependency Table...\n\n") x <- staged.dependencies::dependency_table() diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 73b14e27bc..3f786961bc 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v2 - name: Gather info from PR - uses: actions/github-script@v4 + uses: actions/github-script@v5 id: get-pr if: github.event_name == 'pull_request' with: @@ -32,7 +32,7 @@ jobs: } core.info(`Getting PR #${request.pull_number} from ${request.owner}/${request.repo}`) try { - const result = await github.pulls.get(request) + const result = await github.rest.pulls.get(request) return result.data } catch (err) { core.setFailed(`Request failed with error ${err}`) @@ -95,7 +95,7 @@ jobs: if (file.exists("staged_dependencies.yaml")) { cat("\nInstall Staged Dependencies\n\n\n") if (!require("staged.dependencies")) { - remotes::install_github("openpharma/staged.dependencies", ref = "v0.2.1", Ncpus = ncores, upgrade = "never") + remotes::install_github("openpharma/staged.dependencies", ref = "v0.2.2", Ncpus = ncores, upgrade = "never") } cat("\nCalculating Staged Dependency Table...\n\n") x <- staged.dependencies::dependency_table()