Update move-to-main-repo.yaml

This commit is contained in:
Michel Roegl-Brunner 2025-03-10 21:01:24 +01:00 committed by GitHub
parent 6927019eaa
commit 67da894a5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,7 @@ jobs:
- name: Create PR if files found - name: Create PR if files found
if: env.files_found == 'true' if: env.files_found == 'true'
env: env:
GITHUB_TOKEN: ${{ secrets.REPO_PR_WF }} GITHUB_TOKEN: ${{ github.token }}
run: | run: |
script_name="wf-test" script_name="wf-test"
@ -92,4 +92,8 @@ jobs:
git status git status
echo ${{ secrets.MAIN_REPO_WF }} > mytoken.txt
gh auth login --with-token < mytoken.txt
gh pr create --title "Add script files for $script_name" --body "This PR adds the $script_name script files." --base main --head "community-scripts/ProxmoxVED:$branch_name" --repo "${target_repo}" gh pr create --title "Add script files for $script_name" --body "This PR adds the $script_name script files." --base main --head "community-scripts/ProxmoxVED:$branch_name" --repo "${target_repo}"