We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74531ff commit 1d906a3Copy full SHA for 1d906a3
action.yml
@@ -59,12 +59,6 @@ runs:
59
path: "fork-repo"
60
token: "${{ env.GITHUB_TOKEN }}"
61
62
- - name: Configure Git
63
- shell: bash
64
- run: |
65
- git config user.name "${{ inputs.user-name }}"
66
- git config user.email "${{ inputs.user-email }}"
67
-
68
- name: Upstream PR
69
shell: bash
70
env:
@@ -74,7 +68,9 @@ runs:
74
ROOT_DIR=$(pwd)
75
cd "fork-repo"
76
77
- echo "🚀 Setting up upstream"
71
+ echo "🚀 Setting up fork repo"
72
+ git config user.name "${{ inputs.user-name }}"
73
+ git config user.email "${{ inputs.user-email }}"
78
git remote add upstream "https://github.com/${{ inputs.upstream-repo-name }}"
79
git fetch --all
80
git reset --hard upstream/main
0 commit comments