From a18b0c36cd4df0d3b9c2623c5dda009c5f281ac9 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Tue, 19 Oct 2021 12:02:15 +0200 Subject: [PATCH] Update rebase.yml with workflows permissions (#5255) Update token with workflows permissions --- .github/workflows/rebase.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml index 98fcb83b8b3c..a4db1efb2971 100644 --- a/.github/workflows/rebase.yml +++ b/.github/workflows/rebase.yml @@ -13,9 +13,9 @@ jobs: - name: Checkout the latest code uses: actions/checkout@v2 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.ACTIONS_TOKEN }} fetch-depth: 0 # otherwise, you will fail to push refs to dest repo - name: Automatic Rebase uses: cirrus-actions/rebase@1.5 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }}