mirror of
https://github.com/RetroDECK/components-template.git
synced 2024-11-21 19:05:39 +00:00
PR: added a step to unshallow the clone
This commit is contained in:
parent
11fd9b62fd
commit
9280f5a116
10
.github/workflows/pr_from_upstream.yml
vendored
10
.github/workflows/pr_from_upstream.yml
vendored
|
@ -15,6 +15,16 @@ jobs:
|
|||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
fetch-depth: 0 # Retrieve full history to allow merging
|
||||
|
||||
- name: Configure the upstream
|
||||
run: |
|
||||
CURRENT_BRANCH="${{ github.ref_name }}"
|
||||
|
||||
git remote add upstream "https://github.com/flathub/${{ github.event.repository.name }}"
|
||||
git fetch upstream
|
||||
git fetch origin
|
||||
|
||||
git branch --set-upstream-to=upstream/$CURRENT_BRANCH $CURRENT_BRANCH
|
||||
|
||||
- name: Generate a token for Rekku
|
||||
if: ${{ github.repository == 'RetroDECK/RetroDECK' }}
|
||||
id: generate-rekku-token
|
||||
|
|
Loading…
Reference in a new issue