Describe the enhancement requested
We have a CI job that checks our PR format:
|
- name: Check title |
|
if: | |
|
(github.event.action == 'opened' || |
|
github.event.action == 'edited') |
|
uses: actions/github-script@v9 |
|
with: |
|
github-token: ${{ secrets.GITHUB_TOKEN }} |
|
script: | |
|
const script = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/dev_pr/title_check.js`); |
|
script({github, context}); |
If it detects format mismatch, it adds a comment to notify it: https://github.com/apache/arrow/blob/main/.github/workflows/dev_pr/title_check.md
How about making the PR draft automatically in addition of the comment? Maintainers can ignore these PRs until they match our PR format.
Component(s)
Developer Tools
Describe the enhancement requested
We have a CI job that checks our PR format:
arrow/.github/workflows/dev_pr.yml
Lines 63 to 72 in 6378639
If it detects format mismatch, it adds a comment to notify it: https://github.com/apache/arrow/blob/main/.github/workflows/dev_pr/title_check.md
How about making the PR draft automatically in addition of the comment? Maintainers can ignore these PRs until they match our PR format.
Component(s)
Developer Tools