Skip to content

Commit

Permalink
Add vale gh action (#6)
Browse files Browse the repository at this point in the history
* Add vale gh action

* Update branch

* Update .github/workflows/vale.yml

Co-authored-by: Nicolás Hussein <[email protected]>

---------

Co-authored-by: Nicolás Hussein <[email protected]>
  • Loading branch information
0xLucca and nhussein11 authored Sep 4, 2024
1 parent f198b28 commit c0d89fe
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Vale Review
description: "This action runs Vale to review documentation for grammar and style issues on pull requests to the master branch."

on:
pull_request:
branches: master

jobs:
vale-review-docs:
permissions:
pull-requests: write
uses: papermoonio/polkadot-mkdocs/.github/workflows/vale.yml@main
with:
repo: ${{ github.repository }}
pr_number: ${{ github.event.pull_request.number }}
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c0d89fe

Please sign in to comment.