8000 Update .github/workflows/R-CMD-check.yaml to include GIST_TOKEN to fi… · Aariq/gistr@f0bf8ef · GitHub
[go: up one dir, main page]

Skip to content

Commit f0bf8ef

Browse files
Update .github/workflows/R-CMD-check.yaml to include GIST_TOKEN to fix CI/CD errors.
1 parent c69d78c commit f0bf8ef

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ jobs:
4444
extra-packages: any::rcmdcheck
4545
needs: check
4646

47+
# 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')"
54+
4755
- uses: r-lib/actions/check-r-package@v2
4856
with:
4957
upload-snapshots: true

0 commit comments

Comments
 (0)
0