mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
🎨 limit
This commit is contained in:
parent
e608e7c808
commit
5829f647e5
1 changed files with 3 additions and 0 deletions
3
.github/workflows/pr_linting.yml
vendored
3
.github/workflows/pr_linting.yml
vendored
|
|
@ -6,6 +6,8 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ develop ]
|
branches: [ develop ]
|
||||||
|
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
@ -19,6 +21,7 @@ jobs:
|
||||||
echo "_CHANGED_FILES=$(git diff --name-only origin/${{ github.base_ref }} -- '*.py' | tr -s '\n' ' ' )" >> ${GITHUB_ENV}
|
echo "_CHANGED_FILES=$(git diff --name-only origin/${{ github.base_ref }} -- '*.py' | tr -s '\n' ' ' )" >> ${GITHUB_ENV}
|
||||||
- name: Code Check
|
- name: Code Check
|
||||||
uses: wemake-services/wemake-python-styleguide@master
|
uses: wemake-services/wemake-python-styleguide@master
|
||||||
|
if: ${{ env._CHANGED_FILES }}
|
||||||
with:
|
with:
|
||||||
reporter: 'github-pr-review'
|
reporter: 'github-pr-review'
|
||||||
path: "${{ env._CHANGED_FILES }}"
|
path: "${{ env._CHANGED_FILES }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue