From 87a185a82893efb957fb7c23778fadcd732adf20 Mon Sep 17 00:00:00 2001 From: NostalgiaCyan Date: Tue, 10 May 2022 07:38:19 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=20labeler=20=E6=89=80?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=9A=84=20bot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/labeler.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 0f9e3cb50963..51f209b66899 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -25,7 +25,13 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Generate token + id: generate_token + uses: tibdex/github-app-token@v1.5.0 + with: + app_id: '181747' + private_key: ${{ secrets.CFPA_BOT_PRIVATE_KEY }} - name: Label Mastermind uses: Videndum/label-mastermind@1.4.0-alpha.5 with: - GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }} + GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}