Update rebase.yml with workflows permissions (#5255)

Update token with workflows permissions
This commit is contained in:
Glenn Jocher authored and GitHub committed 2021-10-19 12:02:15 +02:00
1 parent fd3e2ad8ef
commit a18b0c36cd
1 file changed
+2 -2
+2 -2
View File
@@ -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 }}