[github-actions] update-pr: Use BITNAMI_BOT_TOKEN instead of GITHUB_TOKEN when pushing changes (#22538)

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
This commit is contained in:
Miguel Ruiz
2024-01-22 13:28:44 +01:00
committed by GitHub
parent cb9d9df46e
commit 0be7511d84

View File

@@ -104,7 +104,7 @@ jobs:
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
token: ${{ github.actor == 'bitnami-bot' && secrets.GITHUB_TOKEN || secrets.BITNAMI_BOT_TOKEN }}
token: ${{ secrets.BITNAMI_BOT_TOKEN }}
- name: Setup git configuration
run: |
git config user.name "Bitnami Containers"