Stirling-PDF/.github/workflows
Ludy 21875d7052
feat: add automated PR title review using GitHub Actions and AI (#3784)
# Description of Changes

- Added a new GitHub Actions workflow
`.github/workflows/ai_pr_title_review.yml` to perform AI-powered PR
title evaluations
- Introduced configuration files:
  - `.github/config/repo_devs.json` to define trusted developers
- `.github/config/system-prompt.txt` as the system prompt for the AI
model
- Workflow checks the PR actor against the `repo_devs.json` list and
evaluates the PR title if the actor is a listed developer
- Integrates GPT-4o via `actions/ai-inference` to analyze diffs and
suggest improved PR titles in JSON
- Posts a suggestion comment or praise, depending on AI rating, using
`github-script`
- Supports secure repo setup with hardened runners and tokenized GitHub
App bot access

---

## Checklist

### General

- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md)
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md)
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md)
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings

### Documentation

- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/)
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md#add-new-translation-tags)
(for new translation tags only)

### UI Changes (if applicable)

- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)

### Testing (if applicable)

- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md#6-testing)
for more details.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-23 23:05:54 +01:00
..
ai_pr_title_review.yml feat: add automated PR title review using GitHub Actions and AI (#3784) 2025-06-23 23:05:54 +01:00
auto-labeler.yml Bump step-security/harden-runner from 2.12.0 to 2.12.1 (#3728) 2025-06-16 23:31:27 +01:00
auto-labelerV2.yml chore: add advanced PR auto-labeling configuration and workflow (#3767) 2025-06-18 22:27:50 +01:00
build.yml Bump docker/setup-buildx-action from 3.11.0 to 3.11.1 (#3790) 2025-06-23 14:08:20 +01:00
check_properties.yml ci: add cleanup step to remove temporary files in workflow (#3782) 2025-06-23 23:05:38 +01:00
codeql.yml-disabled Bump: Harden Runner from v2.10.2 to v2.10.3 (#2686) 2025-01-13 22:26:05 +00:00
dependency-review.yml Bump step-security/harden-runner from 2.12.0 to 2.12.1 (#3728) 2025-06-16 23:31:27 +01:00
licenses-update.yml chore: improve label matching rules in labeler config (#3779) 2025-06-19 18:44:01 +01:00
manage-label.yml Bump step-security/harden-runner from 2.12.0 to 2.12.1 (#3728) 2025-06-16 23:31:27 +01:00
multiOSReleases.yml Bump sigstore/cosign-installer from 3.8.2 to 3.9.0 (#3792) 2025-06-23 14:08:06 +01:00
PR-Demo-cleanup.yml Bump step-security/harden-runner from 2.12.0 to 2.12.1 (#3728) 2025-06-16 23:31:27 +01:00
PR-Demo-Comment-with-react.yml Bump docker/setup-buildx-action from 3.11.0 to 3.11.1 (#3790) 2025-06-23 14:08:20 +01:00
pre_commit.yml Bump step-security/harden-runner from 2.12.0 to 2.12.1 (#3728) 2025-06-16 23:31:27 +01:00
push-docker.yml Bump docker/setup-buildx-action from 3.11.0 to 3.11.1 (#3790) 2025-06-23 14:08:20 +01:00
releaseArtifacts.yml Bump sigstore/cosign-installer from 3.8.2 to 3.9.0 (#3792) 2025-06-23 14:08:06 +01:00
scorecards.yml Bump step-security/harden-runner from 2.12.0 to 2.12.1 (#3728) 2025-06-16 23:31:27 +01:00
sonarqube.yml Bump gradle/actions from 4.4.0 to 4.4.1 (#3727) 2025-06-16 23:32:01 +01:00
stale.yml Bump step-security/harden-runner from 2.12.0 to 2.12.1 (#3728) 2025-06-16 23:31:27 +01:00
swagger.yml Bump gradle/actions from 4.4.0 to 4.4.1 (#3727) 2025-06-16 23:32:01 +01:00
sync_files.yml Bump step-security/harden-runner from 2.12.0 to 2.12.1 (#3728) 2025-06-16 23:31:27 +01:00
testdriver.yml Bump docker/setup-buildx-action from 3.11.0 to 3.11.1 (#3790) 2025-06-23 14:08:20 +01:00