Skip to content

Commit

Permalink
Create proselint.yml (#101)
Browse files Browse the repository at this point in the history
* Create proselint.yml

* Update proselint.yml

* Update .github/workflows/proselint.yml

Co-authored-by: John Bampton <[email protected]>

---------

Co-authored-by: John Bampton <[email protected]>
  • Loading branch information
BaseMax and jbampton authored Oct 31, 2024
1 parent 635f11d commit 01d2bbf
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/proselint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,25 @@ name: Proselint Linting
on:
push:
branches:
- main # Adjust if you have a different default branch
- main
pull_request:
branches:
- main # Run on pull requests to main
- main

jobs:
proselint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8' # You can specify another version if needed

python-version: '3.8'
- name: Install Proselint
run: |
pip install proselint
- name: Run Proselint
run: |
proselint **/*.md # Adjust the file pattern if needed
proselint **/*.md

0 comments on commit 01d2bbf

Please sign in to comment.