
🔥 Latest Stable Version: v3.x (Faro Edition)
🤔 For questions, check out the discussions.
📃 For documentation, check out this document and the official documentation.
🙌 Join our community on discord!
This action runs the docker image reviewpad/action.
It reads and automates the pull request workflows specified in the reviewpad.yml configuration file.
These workflows can be used to automatically label, assign reviewers, comment, merge and close pull requests.
For example, the following reviewpad.yml file:
api-version: reviewpad.com/v3.x
workflows:
- name: label-pull-request-with-size
if:
- rule: $size() <= 50
extra-actions:
- $addLabel("small")
- rule: $size() > 50 && $size() <= 150
extra-actions:
- $addLabel("medium")
- rule: $size() > 150
extra-actions:
- $addLabel("large")
Specifies a workflow to automatically add a label based on the size of the pull request.
For more information on the release procedure, check the RELEASE.md document.
${{ toJSON(github) }}./reviewpad.yml. Ignored if file_url is set.file.${{ github.token }}Add the following step to your GitHub Action job:
- name: Run reviewpad action
uses: reviewpad/[email protected]
You can run reviewpad action with a remote configuration by setting the input file_url:
- name: Run reviewpad action
uses: reviewpad/[email protected]
with:
file_url: https://github.com/reviewpad/action/blob/main/templates/start.yml
By default this action uses the github-actions[bot] token.
As described in the official GitHub documentation:
When you use the repository's GITHUB_TOKEN to perform tasks, events triggered by the GITHUB_TOKEN will not create a new workflow run.
If you want to use more advanced features such as the merge feature, we recommend that you explicitly provide a PAT (Personal Access Token) to run this action:
- name: Run reviewpad action
uses: reviewpad/[email protected]
with:
token: ${{ secrets.GH_TOKEN }}
Content type
Image
Digest
sha256:4ed7b6055…
Size
29.9 MB
Last updated
over 3 years ago
docker pull reviewpad/action-dev:dev_test-approve