diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index 0f8ee73..c1273e5 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -77,7 +77,7 @@ jobs: - name: Create PR if files found env: - TOKEN: ${{ steps.generate-token.outputs.token }} + GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} run: | script_name="wf-test" target_repo="community-scripts/ProxmoxVE" @@ -90,11 +90,8 @@ jobs: cp "ct/$script_name.sh" . cp "install/$script_name-install.sh" . cp "json/$script_name.json" . - git add . - git commit -m "$commit_message" - git remote add upstream https://github.com/${target_repo}.git git fetch upstream gh auth status