PR: fixing repo clone

This commit is contained in:
XargonWan 2024-11-08 09:48:50 +09:00
parent 8ad4fc0df6
commit e0d1911fd8

View file

@ -19,13 +19,13 @@ jobs:
git checkout "${{ github.ref_name }}"
git branch --set-upstream-to=upstream/${{ github.ref_name }} ${{ github.ref_name }}
- name: Generate a token for Rekku
id: generate-rekku-token
uses: actions/create-github-app-token@v1.11.0
with:
app-id: ${{ vars.REKKU_APP_ID }}
private-key: ${{ secrets.REKKU_PRIVATE_KEY }}
owner: "RetroDECK"
# - name: Generate a token for Rekku
# id: generate-rekku-token
# uses: actions/create-github-app-token@v1
# with:
# app-id: ${{ vars.REKKU_APP_ID }}
# private-key: ${{ secrets.REKKU_PRIVATE_KEY }}
# owner: "RetroDECK"
- name: Configuring Git
run: |
@ -79,7 +79,7 @@ jobs:
if: success()
uses: peter-evans/create-pull-request@v7.0.5
with:
token: ${{ steps.generate-rekku-token.outputs.token || secrets.GITHUB_TOKEN }}
#token: ${{ steps.generate-rekku-token.outputs.token || secrets.GITHUB_TOKEN }}
commit-message: "Sync with upstream changes from ${{ env.UPSTREAM_REPO }}"
branch: ${{ env.BRANCH_NAME }}
title: "Sync with upstream ${{ env.UPSTREAM_REPO }}"