Skip to content

Commit

Permalink
checking secrets access
Browse files Browse the repository at this point in the history
  • Loading branch information
mustberuss committed Dec 24, 2024
1 parent ec26bc0 commit bcc350a
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,10 @@ jobs:
- uses: r-lib/actions/setup-pandoc@v2

- name: Check Secrets Access
if: ${{ secrets.PATENTSVIEW_API_KEY2 == '' }}
run: |
if ([[ "x${{ secrets.PATENTSVIEW_API_KEY }}" != "x" )]]); then
echo "Access to secrets"
exit 1
else
echo "No access to secrets"
exit 1
fi
echo "No access to secrets"
exit 1
- name: Query dependencies
run: |
Expand Down

0 comments on commit bcc350a

Please sign in to comment.