Skip to content

Commit

Permalink
Introduce prose linting to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
regularfry committed Oct 6, 2023
1 parent 3e857e5 commit b3560eb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/lint-prose/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ runs:
- name: "Check English usage"
shell: bash
run: |
./scripts/githooks/check-english-usage.sh
check=branch ./scripts/githooks/check-english-usage.sh
9 changes: 9 additions & 0 deletions .github/workflows/stage-1-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@ jobs:
fetch-depth: 0 # Full history is needed to compare branches
- name: "Check markdown format"
uses: ./.github/actions/check-markdown-format
lint-prose:
name: "Check English usage"
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: "Checkout code"
uses: actions/checkout@v4
- name: "Check English usage"
uses: ./.github/actions/lint-prose
lint-terraform:
name: "Lint Terraform"
runs-on: ubuntu-latest
Expand Down

0 comments on commit b3560eb

Please sign in to comment.