Skip to content

Update pre-commit hook astral-sh/ruff-pre-commit to v0.9.5 #178

Update pre-commit hook astral-sh/ruff-pre-commit to v0.9.5

Update pre-commit hook astral-sh/ruff-pre-commit to v0.9.5 #178

---
name: OpenAI Generate PR Title and Description
on:
pull_request:
branches:
- main
types:
- opened
- synchronize
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
generate-pr-description:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
pull-requests: write # uses: tqer39/generate-pr-description-action
# Check if the PR is not created by 'renovate' or 'tqer39-apps'
if: contains(fromJSON('["renovate[bot]", "tqer39-apps[bot]"]'), github.event.pull_request.user.login) == false
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: tqer39/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
openai-model: "gpt-4o"