Update rebase.yml with workflows permissions (#5255)
Update token with workflows permissions
This commit is contained in:
1 parent
fd3e2ad8ef
commit
a18b0c36cd
1 file changed
+2
-2
@@ -13,9 +13,9 @@ jobs:
|
|||||||
- name: Checkout the latest code
|
- name: Checkout the latest code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.ACTIONS_TOKEN }}
|
||||||
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
|
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
|
||||||
- name: Automatic Rebase
|
- name: Automatic Rebase
|
||||||
uses: cirrus-actions/rebase@1.5
|
uses: cirrus-actions/rebase@1.5
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
|
||||||
Reference in new issue
Block a user