Skip to content

Commit

Permalink
Remove copy_prs plugin (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajschmidt8 authored Sep 6, 2023
1 parent 0b4fead commit 7c62237
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 721 deletions.
1 change: 0 additions & 1 deletion .github/ops-bot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ auto_merger: true
branch_checker: false
label_checker: false
release_drafter: false
copy_prs: false
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ The plugins are listed in the [src/plugins](./src/plugins) folder.
- **Release Drafter** - Opens up a draft release on GitHub anytime a PR is merged to a versioned branch (i.e. `branch-0.17`, `branch-0.18`, etc.). The draft body includes a categorized changelog consisting of the PRs that have been merged on that branch.
- **Auto Merger** - Automatically merges PRs that include the `/merge` comment and meet the merge criteria outlined in [https://docs.rapids.ai/resources/auto-merger/](https://docs.rapids.ai/resources/auto-merger/).
- **Branch Checker** - Set a status on PRs that checks whether they are targeting either the repo's _default branch_ or _default branch + 1_
- **Copy PRs** - Copies pull request branches from their forked repository to the source repository for testing. If a pull request is from a GitHub author that is not a member of the GitHub organization, it will require an `okay to test` comment be submitted to the PR by a member of the GitHub organization before the forked code is copied to the source repository. Every new commit from external contributor PRs will also require an `okay to test` command. `ok to test` may also be used.
- **Recently Updated** - Sets a status on PRs based on whether a PR is `X` commits out-of-date compared to the based branch. `X` defaults to `5`, but is configurable via the `recently_updated_threshold` option in the `.github/ops-bot.yaml` configuration file.

## Deployment
Expand Down
2 changes: 0 additions & 2 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export type OpsBotConfigFeatureNames = {
label_checker: boolean;
release_drafter: boolean;
recently_updated: boolean;
copy_prs: boolean;
};

/**
Expand All @@ -49,7 +48,6 @@ export const DefaultOpsBotConfig: OpsBotConfig = {
label_checker: false,
release_drafter: false,
recently_updated: false,
copy_prs: false,
recently_updated_threshold: 5,
};

Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import { Probot } from "probot";
import { initAutoMerger } from "./plugins/AutoMerger";
import { initBranchChecker } from "./plugins/BranchChecker";
import { initCopyPRs } from "./plugins/CopyPRs";
import { initLabelChecker } from "./plugins/LabelChecker";
import { initRecentlyUpdated } from "./plugins/RecentlyUpdated";
import { initReleaseDrafter } from "./plugins/ReleaseDrafter";
Expand All @@ -28,5 +27,4 @@ export = (app: Probot) => {
initReleaseDrafter(app);
initAutoMerger(app);
initRecentlyUpdated(app);
initCopyPRs(app);
};
94 changes: 0 additions & 94 deletions src/plugins/CopyPRs/comment.ts

This file was deleted.

42 changes: 0 additions & 42 deletions src/plugins/CopyPRs/index.ts

This file was deleted.

108 changes: 0 additions & 108 deletions src/plugins/CopyPRs/pr.ts

This file was deleted.

Loading

0 comments on commit 7c62237

Please sign in to comment.