auto PR comments (#30675)

* auto PR comments

* little more

* test

* update action

* cleanup
old-commit-hash: 402ac424d9
chrysler-long2
Adeeb Shihadeh 1 year ago committed by GitHub
parent 4be71cbbad
commit ad395b0980
  1. 19
      .github/workflows/auto_pr_review.yaml

@ -34,6 +34,23 @@ jobs:
already-exists-action: close_this already-exists-action: close_this
already-exists-comment: "Your PR should be made against the `master` branch" already-exists-comment: "Your PR should be made against the `master` branch"
comment:
runs-on: ubuntu-latest
steps:
- name: comment
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6
with:
message: |
Thanks for contributing to openpilot! In order for us to review your PR as quickly as possible, check the following:
* Convert your PR to a draft unless it's ready to review
* Read the [contributing docs](https://github.com/commaai/openpilot/blob/master/docs/CONTRIBUTING.md)
* Before marking as "ready for review", ensure:
* the goal is clearly stated in the description
* all the tests are passing
* the change is [something we merge](https://github.com/commaai/openpilot/blob/master/docs/CONTRIBUTING.md#what-gets-merged)
* include a route or your device' dongle ID if relevant
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
check-pr-template: check-pr-template:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
@ -41,7 +58,7 @@ jobs:
issues: write issues: write
pull-requests: write pull-requests: write
actions: read actions: read
if: github.event.pull_request.head.repo.full_name != 'commaai/openpilot' if: false && github.event.pull_request.head.repo.full_name != 'commaai/openpilot'
steps: steps:
- uses: actions/github-script@v7 - uses: actions/github-script@v7
with: with:

Loading…
Cancel
Save