Skip to content

Update pre-commit hook renovatebot/pre-commit-hooks to v39.38.0 #70

Update pre-commit hook renovatebot/pre-commit-hooks to v39.38.0

Update pre-commit hook renovatebot/pre-commit-hooks to v39.38.0 #70

---
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/openai-generate-pr-description
# 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/openai-generate-pr-description@v1.0.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
openai-model: 'gpt-4o'