fix workflow

This commit is contained in:
Dan Brodjieski
2025-09-15 15:22:02 -04:00
parent 1cd52134d8
commit 8bf855e754
2 changed files with 7 additions and 23 deletions

View File

@@ -1,15 +0,0 @@
name: Spell Check Trigger
on:
push:
branches-ignore:
- main
pull_request:
branches-ignore:
- main
jobs:
call-spellcheck:
uses: ./.github/workflows/spellcheck-reusable.yml@main
with:
branch: ${{ github.ref_name }} # pass the current branch

View File

@@ -1,11 +1,12 @@
name: Spell Check Reusable
name: Spell Check
on:
workflow_call:
inputs:
branch:
required: true
type: string
push:
branches-ignore:
- main
pull_request:
branches-ignore:
- main
jobs:
spellcheck:
@@ -15,8 +16,6 @@ jobs:
# Checkout the branch that triggered the workflow
- name: Checkout branch
uses: actions/checkout@v3
with:
ref: ${{ inputs.branch }}
# Pull latest cspell files from main to keep them in sync
- name: Pull cspell config and dictionary from main