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 6baabfa
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/vale-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ jobs:
contents: read
pull-requests: write
steps:
- name: Log
env:
RUNNER_CONTEXT: ${{vars.VALE_TOKEN}}
run: 'echo "$RUNNER_CONTEXT"'
- 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: ${{vars.VALE_TOKEN}}

0 comments on commit 6baabfa

Please sign in to comment.