From 9b90c2246604f86e159d41577ee6961942dd3cdb Mon Sep 17 00:00:00 2001 From: Bitrise CoreSteps Bot <78345218+bitrise-coresteps-bot@users.noreply.github.com> Date: Wed, 22 Sep 2021 17:17:15 +0200 Subject: [PATCH] Use custom bot token in stale workflow (#20) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: OliveĢr Falvai --- .github/workflows/stale-issues-workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale-issues-workflow.yml b/.github/workflows/stale-issues-workflow.yml index f167c7e..bef5e78 100644 --- a/.github/workflows/stale-issues-workflow.yml +++ b/.github/workflows/stale-issues-workflow.yml @@ -17,7 +17,7 @@ jobs: # https://github.com/actions/stale - uses: actions/stale@v3 with: - repo-token: ${{ github.token }} + repo-token: ${{ secrets.CORESTEPS_BOT_GITHUB_TOKEN }} # do not manage PRs days-before-pr-stale: -1 days-before-pr-close: -1 @@ -48,7 +48,7 @@ jobs: # https://github.com/dessant/lock-threads - uses: dessant/lock-threads@v2 with: - github-token: ${{ github.token }} + github-token: ${{ secrets.CORESTEPS_BOT_GITHUB_TOKEN }} # do not manage PRs process-only: issues # stale issue config