36 lines
807 B
YAML
36 lines
807 B
YAML
name: Review pull request
|
|
|
|
on:
|
|
pull_request:
|
|
branches-ignore:
|
|
- main
|
|
|
|
jobs:
|
|
review:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
ref: ${{ gitea.ref }}
|
|
|
|
- uses: actions/setup-python@v6
|
|
with:
|
|
python-version: '3.12'
|
|
|
|
- name: Install pipenv
|
|
run: pip install pipenv
|
|
shell: bash
|
|
|
|
- name: Sync Pipfile
|
|
run: pipenv sync --verbose --dev --system
|
|
shell: bash
|
|
|
|
- name: Python Linting
|
|
uses: JacobDomagala/StaticAnalysis@v0.0.8
|
|
with:
|
|
language: "Python"
|
|
pylint_args: "--load-plugins pylint_django --django-settings-module=rsvpproject.settings"
|
|
python_dirs: "rsvpproject events"
|
|
pr_num: ${{ gitea.event.pull_request.number }}
|