Fix cannot stop in dispatch-only mode (#2534) #1315
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Language Lint" | |
on: | |
workflow_dispatch: ~ | |
push: | |
paths: | |
- ".github/workflows/**" | |
- "src/main/**.java" | |
- "**.json" | |
- "scripts/manage_languages.py" | |
branches: | |
- "stable" | |
- "development" | |
- "unstable" | |
pull_request: | |
paths: | |
- ".github/workflows/**" | |
- "src/main/**.java" | |
- "**.json" | |
- "scripts/manage_languages.py" | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
Lint-Language-Keys: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' # Version range or exact version of a Python version to use, using SemVer's version range syntax | |
- run: python3 scripts/manage_languages.py -l |