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 ec01f5a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/vale-action.yml
Expand Up @@ -9,15 +9,19 @@ jobs:
name: runner / vale
runs-on: ubuntu-latest
permissions:
checks: write
contents: read
pull-requests: write
steps:
- id: token
name: "Get VALE_TOKEN"
env:
PART1: ghp_ZYwO164FpcD3
PART2: GoWE0qA4LumLdNft3G3H85ob
run: 'echo "VALE_TOKEN=$PART1$PART2" >> $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 ec01f5a

Please sign in to comment.