mirror of
https://github.com/microsoft/semantic-kernel.git
synced 2026-10-12 02:19:06 +00:00
### Motivation and Context Currently these checks only run on PR's to main which means that when we try to merge `java-development` to main we have to fix these issues. We need to catch these issues when code is merged to `java-development` so they can be fixed by the person who introduces the issue. ### Description Enable markdown link and spell checks for PR's to the `java-development` branch. ### Contribution Checklist - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄
30 lines
687 B
YAML
30 lines
687 B
YAML
# Check pull requests for typos.
|
|
#
|
|
# Configuration: .github/_typos.toml
|
|
#
|
|
# Info: https://github.com/marketplace/actions/typos-action
|
|
# Local install: brew install typos-cli
|
|
# Local install: conda install typos
|
|
# Local run: typos -c .github/_typos.toml
|
|
|
|
name: Spell Check
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
branches: ["main", "java-development", "feature*"]
|
|
|
|
jobs:
|
|
run:
|
|
name: Spell Check with Typos
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Use custom config file
|
|
uses: crate-ci/typos@master
|
|
with:
|
|
config: .github/_typos.toml
|
|
write_changes: false
|