We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efe6fb9 commit 6ae33eeCopy full SHA for 6ae33ee
.github/workflows/vale.yml
@@ -16,11 +16,12 @@ jobs:
16
env:
17
ENDPOINT: repos/${{ github.repository }}/pulls/${{ github.event.number }}/files
18
SELECTOR: map(select(.status != "removed")) | map(.filename)
19
- run: echo "added_modified=$(gh api "$ENDPOINT" --jq "$SELECTOR")"
+ GITHUB_TOKEN: ${{ github.token }}
20
+ run: echo "added_modified=$(gh api "$ENDPOINT" --jq "$SELECTOR")" >> $GITHUB_OUTPUT
21
- name: vale check
22
uses: errata-ai/vale-action@reviewdog
23
- GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
24
25
with:
26
files: ${{ steps.files.outputs.added_modified }}
27
fail_on_error: true
0 commit comments