Skip to content

T6410: applied reusable workflows (auto-author-assign,check-pr-conflicts,lint-doc) (backport #1464) #1057

T6410: applied reusable workflows (auto-author-assign,check-pr-conflicts,lint-doc) (backport #1464)

T6410: applied reusable workflows (auto-author-assign,check-pr-conflicts,lint-doc) (backport #1464) #1057

Workflow file for this run

name: Linting
on:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: File Changes
id: file_changes
uses: trilom/[email protected]
#- name: Vale
# uses: errata-ai/[email protected]
# with:
# files: '${{ steps.file_changes.outputs.files_modified }}'
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: run python based linter
run: python .github/vyos-linter.py '${{ steps.file_changes.outputs.files_modified }}'
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}