Skip to content

Commit

Permalink
check availble tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkarRuikar committed Aug 1, 2023
1 parent 74650b6 commit cdd3c93
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/pr-review-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ jobs:
echo "CHANGES_REQUIRED=true" >> $GITHUB_ENV
fi
- name: check available tokens
run: |
echo GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
echo REVIEW_TOKEN=${{ secrets.PR_REVIEW_PAT }}
echo "$CONTEXT"
env: |
CONTEXT: ${{ toJSON(secrets) }}
- name: Setup reviewdog
uses: reviewdog/action-setup@v1
with:
Expand All @@ -94,7 +102,7 @@ jobs:
- name: Add reviews for markdonwlint errors
if: env.MD_LINT_STATUS == '1'
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.PR_REVIEW_PAT }}
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.PR_REVIEW_PAT }}
run: |
echo "${{ env.MD_LINT_LOG }}" | \
reviewdog \
Expand Down

0 comments on commit cdd3c93

Please sign in to comment.