mirror of
https://github.com/RetroDECK/components-template.git
synced 2024-11-24 20:25:38 +00:00
Fixed repository name
This commit is contained in:
parent
43ff63d7c8
commit
7b79241df0
7
.github/workflows/pr_from_upstream.yml
vendored
7
.github/workflows/pr_from_upstream.yml
vendored
|
@ -21,11 +21,11 @@ jobs:
|
||||||
: "${UPSTREAM_REPO:=${{ github.event.repository.name }}}"
|
: "${UPSTREAM_REPO:=${{ github.event.repository.name }}}"
|
||||||
: "${TARGET_BRANCH:=master}"
|
: "${TARGET_BRANCH:=master}"
|
||||||
|
|
||||||
# Format the repository name for flathub
|
# Format the repository name for flathub, ensure no trailing spaces
|
||||||
UPSTREAM_REPO="https://github.com/flathub/${UPSTREAM_REPO}"
|
UPSTREAM_REPO="https://github.com/flathub/${UPSTREAM_REPO}"
|
||||||
|
|
||||||
echo "UPSTREAM_REPO=$UPSTREAM_REPO" >> $GITHUB_ENV
|
echo "UPSTREAM_REPO=${UPSTREAM_REPO}" >> $GITHUB_ENV
|
||||||
echo "TARGET_BRANCH=$TARGET_BRANCH" >> $GITHUB_ENV
|
echo "TARGET_BRANCH=${TARGET_BRANCH}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Sync from Upstream Repository
|
- name: Sync from Upstream Repository
|
||||||
run: |
|
run: |
|
||||||
|
@ -38,7 +38,6 @@ jobs:
|
||||||
git merge --strategy-option theirs --no-edit FETCH_HEAD
|
git merge --strategy-option theirs --no-edit FETCH_HEAD
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
- name: Push changes if there are updates
|
- name: Push changes if there are updates
|
||||||
env:
|
env:
|
||||||
BRANCH_NAME: "sync-${{ github.run_id }}" # Temporary branch name for the PR
|
BRANCH_NAME: "sync-${{ github.run_id }}" # Temporary branch name for the PR
|
||||||
|
|
Loading…
Reference in a new issue