Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup-r-deps: replace github-token param with GITHUB_PAT env var #262

Merged
merged 3 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/bioccheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,10 @@ jobs:
if: >-
inputs.deps-installation-method == 'setup-r-dependencies'
uses: insightsengineering/setup-r-dependencies@v1
env:
GITHUB_PAT: ${{ steps.github-token.outputs.token }}
with:
lookup-refs: ${{ inputs.lookup-refs }}
github-token: ${{ steps.github-token.outputs.token }}
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}

- name: Run BiocCheck ☣️
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-check-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -437,9 +437,10 @@ jobs:
env.deps_installation_method == 'setup-r-dependencies'
&& inputs.install-deps-from-package-repositories == ''
uses: insightsengineering/setup-r-dependencies@v1
env:
GITHUB_PAT: ${{ steps.github-token.outputs.token }}
with:
lookup-refs: ${{ inputs.lookup-refs }}
github-token: ${{ steps.github-token.outputs.token }}
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
skip-desc-branch: ${{ inputs.skip-desc-branch }}
skip-desc-dev: ${{ inputs.skip-desc-dev }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,10 @@ jobs:
if: >-
inputs.deps-installation-method == 'setup-r-dependencies'
uses: insightsengineering/setup-r-dependencies@v1
env:
GITHUB_PAT: ${{ steps.github-token.outputs.token }}
with:
lookup-refs: ${{ inputs.lookup-refs }}
github-token: ${{ steps.github-token.outputs.token }}
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}

- name: Install R package 🚧
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/revdepcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,11 @@ jobs:

- name: Install dependencies
uses: insightsengineering/setup-r-dependencies@v1
env:
GITHUB_PAT: ${{ steps.github-token.outputs.token }}
with:
lookup-refs: ${{ inputs.lookup-refs }}
skip-desc-branch: true
github-token: ${{ steps.github-token.outputs.token }}

- name: revdepcheck 🔄
id: revdepcheck
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/rhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,11 @@ jobs:
job-config: ${{ matrix.config.job-config }}

- uses: insightsengineering/setup-r-dependencies@v1
env:
GITHUB_PAT: ${{ steps.github-token.outputs.token }}
with:
lookup-refs: ${{ inputs.lookup-refs }}
skip-install: true
github-token: ${{ steps.github-token.outputs.token }}
restore-description: false
install-quarto: "false"

Expand Down Expand Up @@ -149,10 +150,11 @@ jobs:
job-config: ${{ matrix.config.job-config }}

- uses: insightsengineering/setup-r-dependencies@v1
env:
GITHUB_PAT: ${{ steps.github-token.outputs.token }}
with:
lookup-refs: ${{ inputs.lookup-refs }}
skip-install: true
github-token: ${{ steps.github-token.outputs.token }}
restore-description: false
install-quarto: "false"

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/roxygen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,10 @@ jobs:
if: >-
env.deps_installation_method == 'setup-r-dependencies'
uses: insightsengineering/setup-r-dependencies@v1
env:
GITHUB_PAT: ${{ steps.github-token.outputs.token }}
with:
lookup-refs: ${{ inputs.lookup-refs }}
github-token: ${{ steps.github-token.outputs.token }}
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}

- name: Generate man pages 📄
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,10 @@ jobs:
if: >-
inputs.deps-installation-method == 'setup-r-dependencies'
uses: insightsengineering/setup-r-dependencies@v1
env:
GITHUB_PAT: ${{ steps.github-token.outputs.token }}
with:
lookup-refs: ${{ inputs.lookup-refs }}
github-token: ${{ steps.github-token.outputs.token }}
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}

- name: Install R package 🚧
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,10 @@ jobs:
if: >-
inputs.deps-installation-method == 'setup-r-dependencies'
uses: insightsengineering/setup-r-dependencies@v1
env:
GITHUB_PAT: ${{ steps.github-token.outputs.token }}
with:
lookup-refs: ${{ inputs.lookup-refs }}
github-token: ${{ steps.github-token.outputs.token }}
repository-path: ${{ env.package_subdirectory }}

- name: Build report 🏗
Expand Down
Loading