diff --git a/src/button/button-contributions.ts b/src/button/button-contributions.ts index 9e2a07c..5406809 100644 --- a/src/button/button-contributions.ts +++ b/src/button/button-contributions.ts @@ -325,6 +325,19 @@ export const buttonContributions: ButtonContributionParams[] = [ match: /\/pull\//, application: "github", }, + { + // `prx_files` is the new PR review experience on GitHub + id: "gh-pull-prx_files", + exampleUrls: [ + // "https://github.com/svenefftinge/browser-extension-test/pull/2/files" // this is an experiment for now, and we can't test against GitHub's feature flags yet + ], + selector: "div[data-component='PH_Actions']", + containerElement: createElement("div", { + order: "2", + }), + match: /\/pull\//, + application: "github", + }, { id: "gh-file", exampleUrls: ["https://github.com/svenefftinge/browser-extension-test/blob/my-branch/README.md"],