Skip to content

Commit

Permalink
ci: specify GITHUB_PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
TymekDev committed May 8, 2024
1 parent d1ee335 commit ad2d6c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/app-push-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
uses: r-lib/actions/setup-r-dependencies@v2
with:
packages: Appsilon/rhino@${{ github.sha }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

# The previous step installs `renv` using `pak`,
# but it subsequentially fails in the pushed app and breaks the test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:
uses: r-lib/actions/setup-r-dependencies@v2
with:
packages: Appsilon/rhino@${{ github.sha }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Node
uses: actions/setup-node@v3
Expand All @@ -68,6 +70,8 @@ jobs:
run: |
cd RhinoApp
Rscript ../test-dependencies.R
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

- name: Node.js commands should respect RHINO_NPM
# Skip this test on Windows because it requires a Unix shell.
Expand Down

0 comments on commit ad2d6c4

Please sign in to comment.