Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit fd71d51

Browse files
committed
use token with gist scope
1 parent f50c173 commit fd71d51

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- {os: ubuntu-latest, r: 'oldrel-1'}
2626

2727
env:
28-
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
28+
GITHUB_PAT: ${{ secrets.GIST_TOKEN }}
2929
R_KEEP_PKG_SOURCE: yes
3030

3131
steps:
@@ -45,12 +45,10 @@ jobs:
4545
needs: check
4646

4747
# Added step for testing gist creation using GIST_TOKEN
48-
- name: Run gist creation test
49-
env:
50-
GIST_TOKEN: ${{ secrets.GIST_TOKEN }}
51-
run: |
52-
echo "Running gist creation test..."
53-
Rscript -e "gistr::gist_create(file = 'tests/test-gist.md', description = 'Test gist creation')"
48+
# - name: Run gist creation test
49+
# run: |
50+
# echo "Running gist creation test..."
51+
# Rscript -e "gistr::gist_create(file = 'tests/test-gist.md', description = 'Test gist creation')"
5452

5553
- uses: r-lib/actions/check-r-package@v2
5654
with:

0 commit comments

Comments
 (0)