mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-09-16 03:39:05 +02:00

- Updated dependabot configuration to include Maven, GitHub Actions, and npm with weekly update schedules and limits on open pull requests. - Added a pull request template to standardize contributions and ensure necessary information is provided. - Introduced issue templates for bug reports and feature requests to streamline issue tracking and enhance user experience. - Created workflows for CodeQL analysis, pre-commit checks, and stale issue management to improve code quality and maintainability.
31 lines
602 B
YAML
31 lines
602 B
YAML
name: Pre-commit Check on PR
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened, synchronize]
|
|
branches:
|
|
- main
|
|
|
|
#on:
|
|
# pull_request:
|
|
# branches: [ main ]
|
|
# push:
|
|
# branches: [ main ]
|
|
|
|
jobs:
|
|
run:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.x'
|
|
- name: Install pre-commit
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install pre-commit
|
|
- name: Run pre-commit
|
|
run: |
|
|
pre-commit run --all-files --show-diff-on-failure
|
|
|