From 4a333c6db5d2ac37b7b210d37174f276a917d8a0 Mon Sep 17 00:00:00 2001 From: Alyssa Dai Date: Wed, 20 Dec 2023 11:35:59 -0500 Subject: [PATCH] [CI] Allow auto to push on protected branch (#261) * add plugins for handling branch protection and first time contributors * update release wf --- .autorc | 4 +++- .github/workflows/release.yaml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.autorc b/.autorc index ec96f3f..74010ab 100644 --- a/.autorc +++ b/.autorc @@ -5,6 +5,8 @@ "noVersionPrefix": false, "plugins": [ "git-tag", - "released" + "released", + "protected-branch", + "first-time-contributor" ] } diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3b743cb..7b09055 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,3 +25,4 @@ jobs: run: ~/auto shipit -vv env: GH_TOKEN: ${{ secrets.NB_PAT_RELEASE }} + PROTECTED_BRANCH_REVIEWER_TOKEN: ${{ secrets.NB_PAT_RELEASE }}