Skip to content

Commit

Permalink
alternative
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Mar 17, 2024
1 parent 2e2d0b0 commit 07d18ea
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/vale-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ jobs:
contents: read
pull-requests: write
steps:
- name: Log
run: 'echo ${{vars.VALE_TOKEN}}'
- id: token
name: "Get VALE_TOKEN"
run: 'VALE_TOKEN=${{vars.VALE_TOKEN}} >> $GITHUB_OUTPUT'
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: errata-ai/vale-action@38bf078c328061f59879b347ca344a718a736018 # v2.1.0
with:
fail_on_error: true
reporter: github-pr-review
env:
# Required, set by GitHub actions automatically:
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
token: ${{needs.token.outputs.VALE_TOKEN}}

0 comments on commit 07d18ea

Please sign in to comment.