Skip to content

Commit

Permalink
Remove everything except availability action
Browse files Browse the repository at this point in the history
  • Loading branch information
davegaeddert committed Jan 29, 2024
1 parent 300e7ec commit 62b4f05
Show file tree
Hide file tree
Showing 86 changed files with 707 additions and 10,916 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
./scripts/mypy
- name: Test
run: |
./scripts/test -v --liveapi
./scripts/test -v
env:
TEST_GITLAB_API_TOKEN: ${{ secrets.TEST_GITLAB_API_TOKEN }}
TEST_BITBUCKET_API_USERNAME: ${{ secrets.TEST_BITBUCKET_API_USERNAME }}
Expand Down
52 changes: 1 addition & 51 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,54 +1,4 @@
<a href="https://www.pullapprove.com/"><img src="https://www.pullapprove.com/assets/img/logos/pull-approve-logo-gray-dk.png" alt="PullApprove" height="40px" /></a>
---

PullApprove is a framework for code review assignment and policies.
It integrates directly with GitHub, GitLab (beta), and Bitbucket (beta).

It is configured with a `.pullapprove.yml` file at the root of your repo.
Reviews are split into "review groups" which can be enabled/disabled depending on the specifics of a PR.
When a group is activated on a PR, review requests are sent out automatically to the selected reviewers.

Here's a basic example:

```yaml
version: 3

overrides:
- if: "base.ref != 'master'"
status: success
explanation: "Review not required unless merging to master"
- if: "'hotfix' in labels"
status: success
explanation: "Review skipped for hotfix"

groups:
code:
reviewers:
users:
- reviewerA
- reviewerB
reviews:
required: 2
request: 1
request_order: random
labels:
approved: "Code review approved"

database:
conditions:
- "'*migrations*' in files"
reviewers:
teams:
- database
```
A "pullapprove" status is reported on the PR with a link to more details.
You can make this a [required status check](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/managing-a-branch-protection-rule#creating-a-branch-protection-rule) to enforce your review workflows on all pull requests.
![pullapprove review status check](https://user-images.githubusercontent.com/649496/141190794-c62da3f0-92fb-4125-ae7e-410b1ec8dc89.png)
---
This repo contains some of the core models and configuration settings which are used by the [hosted service](https://www.pullapprove.com/).
To host your own version of PullApprove, please contact us at https://www.pullapprove.com/enterprise/.
> Heads up, this repo is old! It is still here due to an old GitHub Action for PullApprove v3. You can find the latest version of PullApprove at [pullapprove.com](https://www.pullapprove.com).
1,742 changes: 705 additions & 1,037 deletions poetry.lock

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions pullapprove/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

from .. import __version__
from .availability import availability
from .repl import repl
from .secrets import secrets
from .test import test


@click.group()
Expand All @@ -13,9 +10,6 @@ def cli() -> None:


cli.add_command(availability)
cli.add_command(test)
cli.add_command(repl)
cli.add_command(secrets)


if __name__ == "__main__":
Expand Down
213 changes: 0 additions & 213 deletions pullapprove/cli/repl.py

This file was deleted.

87 changes: 0 additions & 87 deletions pullapprove/cli/secrets.py

This file was deleted.

Loading

0 comments on commit 62b4f05

Please sign in to comment.