Skip to content

Commit

Permalink
change token
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkarRuikar committed Jul 28, 2023
1 parent 4e74440 commit 952ba0b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pr-review-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,11 @@ jobs:

- name: Suggest changes using diff
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REVIEWDOG_GITHUB_API_TOKEN: ${{ inputs.GITHUB_TOKEN }}
run: |
TMPFILE=$(mktemp)
git diff >"${TMPFILE}"
git stash -u && git stash drop
echo "Running rd"
reviewdog \
-name="mdn-linter" \
-f=diff \
Expand All @@ -86,7 +85,7 @@ jobs:
- name: Add reviews for markdonwlint errors
if: env.MD_LINT_STATUS == '1'
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REVIEWDOG_GITHUB_API_TOKEN: ${{ inputs.GITHUB_TOKEN }}
run: |
echo "${{ env.MD_LINT_LOG }}" | \
reviewdog \
Expand Down

0 comments on commit 952ba0b

Please sign in to comment.