Skip to content

Commit

Permalink
add protected branch plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
hipstersmoothie committed Feb 4, 2023
1 parent 6245143 commit 16e352c
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -31,6 +31,7 @@ jobs:
- run: yarn build && yarn lerna run bundle --scope=auto
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PROTECTED_BRANCH_REVIEWER_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.CANARY_NPM_TOKEN }}

pr-check:
14 changes: 7 additions & 7 deletions auto.config.ts
Original file line number Diff line number Diff line change
@@ -22,12 +22,6 @@ const brewOptions: IBrewPluginOptions = {
name: "auto",
};

// const ghPagesOptions: IGhPagesPluginOptions = {
// buildCommand: "yarn docs:build",
// dir: "docs/out",
// };
//

/** Auto configuration */
export default function rc(): AutoRc {
return {
@@ -47,7 +41,13 @@ export default function rc(): AutoRc {
"./scripts/auto-update-curl-version.js",
["all-contributors", allContributorsOptions],
["brew", brewOptions],
// ["gh-pages", ghPagesOptions],
[
"protected-branch",
{
releaseTemporaryBranchPrefix: "protected-release-",
requiredStatusChecks: ["WIP", "build", "test", "lint"],
},
],
],
labels: [
{

0 comments on commit 16e352c

Please sign in to comment.