From 01d2bbfe2b3682c353b0e7602da1db9430e485e0 Mon Sep 17 00:00:00 2001 From: Max Base Date: Thu, 31 Oct 2024 08:10:32 -0400 Subject: [PATCH] Create proselint.yml (#101) * Create proselint.yml * Update proselint.yml * Update .github/workflows/proselint.yml Co-authored-by: John Bampton --------- Co-authored-by: John Bampton --- .github/workflows/proselint.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/proselint.yml b/.github/workflows/proselint.yml index ddfb023..2db57b9 100644 --- a/.github/workflows/proselint.yml +++ b/.github/workflows/proselint.yml @@ -3,10 +3,10 @@ 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: @@ -14,17 +14,14 @@ jobs: 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