diff --git a/.github/workflows/spellcheck-trigger.yml b/.github/workflows/spellcheck-trigger.yml deleted file mode 100644 index 07d3bfb1..00000000 --- a/.github/workflows/spellcheck-trigger.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/.github/workflows/spellcheck-reusable.yml b/.github/workflows/spellcheck.yml similarity index 82% rename from .github/workflows/spellcheck-reusable.yml rename to .github/workflows/spellcheck.yml index 1f0f9fdd..29b78264 100644 --- a/.github/workflows/spellcheck-reusable.yml +++ b/.github/workflows/spellcheck.yml @@ -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