Use token with write permissions on checkout
Avoiding cached token not being able to push
This commit is contained in:
parent
958feeb5cf
commit
605aeb9fc4
@ -13,7 +13,7 @@ jobs:
|
||||
steps:
|
||||
# We should provide go with our image already?
|
||||
- name: Setup Go
|
||||
uses: https://token:${{ secrets.REPO_CLONE }}@src.suse.de/actions/github-setup-go@v5
|
||||
uses: https://token:${{ secrets.REPO_WRITE }}@src.suse.de/actions/github-setup-go@v5
|
||||
with:
|
||||
go-version: '1.20'
|
||||
# To be obsoleted
|
||||
@ -26,7 +26,7 @@ jobs:
|
||||
uses: https://token:${{ secrets.REPO_WRITE }}@src.suse.de/actions/github-actions-checkout@v4
|
||||
# Updating incident numbers
|
||||
- name: Update all new _patchinfo files
|
||||
uses: https://token:${{ secrets.REPO_CLONE }}@src.suse.de/actions/patchinfo-numbering-action@v0
|
||||
uses: https://token:${{ secrets.REPO_WRITE }}@src.suse.de/actions/patchinfo-numbering-action@v0
|
||||
- name: Get last commit message
|
||||
id: last-commit
|
||||
run: |
|
||||
@ -37,6 +37,5 @@ jobs:
|
||||
commit_author: ${{ steps.last-commit.outputs.author }}
|
||||
commit_message: "Update incident numbers"
|
||||
commit_options: '--no-edit'
|
||||
skip_fetch: true
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user