mirror of
https://github.com/satwikkansal/wtfpython
synced 2025-03-10 02:01:41 +01:00
25 lines
573 B
YAML
Vendored
25 lines
573 B
YAML
Vendored
on: [pull_request]
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: read
|
|
checks: write
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Write git diff to temp file
|
|
run: |
|
|
git fetch origin
|
|
git diff origin/${{ github.base_ref }} --unified=0 *.md translations/*/*.md \
|
|
> ${{ runner.temp }}/diff.md
|
|
- uses: DavidAnson/markdownlint-cli2-action@v17
|
|
with:
|
|
globs: "${{ runner.temp }}/diff.md"
|