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 651e57b commit 0ae047b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr-review-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,21 @@ jobs:

- name: Suggest changes using diff
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.INPUT_GITHUB_TOKEN }}
run: |
TMPFILE=$(mktemp)
git diff >"${TMPFILE}"
git stash -u && git stash drop
reviewdog \
-name="MDNLinter" \
-name="mdn-linter" \
-f=diff \
-f.diff.strip=1 \
-reporter=github-pr-review < "${TMPFILE}"
- name: Add reviews for markdonwlint errors
if: env.MD_LINT_STATUS == '1'
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.INPUT_GITHUB_TOKEN }}
run: |
echo "${{ env.MD_LINT_LOG }}" | \
reviewdog \
Expand Down

0 comments on commit 0ae047b

Please sign in to comment.