mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 14:03:24 +00:00
fix workflow
This commit is contained in:
15
.github/workflows/spellcheck-trigger.yml
vendored
15
.github/workflows/spellcheck-trigger.yml
vendored
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user