chore 📦: Add new markdown lint configuration, Ansible best practices, README guidelines, AI PR review workflow, and security checks.
This commit includes the addition of a new markdown lint configuration to disable MD041 rule. It also introduces an Ansible best practices file, README guidelines for comprehensive project files, an AI PR review workflow, and new security checks using Gitleaks and markdown-lint.
This commit is contained in:
37
.gitea/workflows/AiReviewPR.yaml
Normal file
37
.gitea/workflows/AiReviewPR.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
# https://github.com/kekxv/AiReviewPR
|
||||
name: ai-reviews
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize]
|
||||
|
||||
jobs:
|
||||
review:
|
||||
name: Review PR
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
# Number of commits to fetch. 0 indicates all history for all
|
||||
# branches and tags.
|
||||
# Default: 1
|
||||
fetch-depth: 0
|
||||
# The base URL for the GitHub instance that you are trying to clone
|
||||
# from, will use environment defaults to fetch from the same instance
|
||||
# that the workflow is running from unless specified.
|
||||
# Example URLs are https://github.com or
|
||||
# https://my-ghes-server.example.com
|
||||
github-server-url: ${{ vars.GIT_SERVER_URL }}
|
||||
|
||||
- name: Review code
|
||||
uses: kekxv/AiReviewPR@v0.1.0
|
||||
with:
|
||||
model: ${{ vars.OLLAMA_MODEL }}
|
||||
host: http://192.168.2.233:11435
|
||||
# host: ${{ vars.OLLAMA_HOST }}
|
||||
# ai_token: ${{ secrets.AI_TOKEN }}
|
||||
REVIEW_PULL_REQUEST: false
|
||||
LANGUAGE: English
|
||||
Reference in New Issue
Block a user