name: GenAI Pull Request Descriptor
on:
  pull_request:
    types: [opened, reopened, ready_for_review]
permissions:
  contents: read
  pull-requests: write
  models: read
concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true
jobs:
  generate-pull-request-description:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v5
      - uses: pelikhan/action-genai-pull-request-descriptor@v0
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
