Commit f61de990
Changed files (1)
.github
workflows
.github/workflows/lint-pr.yml
@@ -0,0 +1,21 @@
+name: "Lint PR"
+
+on:
+ pull_request_target:
+ types:
+ - opened
+ - edited
+ - synchronize
+
+permissions:
+ pull-requests: read
+
+jobs:
+ pr_title:
+ name: Validate PR title
+ runs-on: ubuntu-latest
+ if: github.ref == 'refs/heads/main' && github.repository == 'openai/openai-python'
+ steps:
+ - uses: amannn/action-semantic-pull-request@v5
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}