Update move-to-main-repo.yaml
This commit is contained in:
parent
6927019eaa
commit
67da894a5e
6
.github/workflows/move-to-main-repo.yaml
vendored
6
.github/workflows/move-to-main-repo.yaml
vendored
@ -65,7 +65,7 @@ jobs:
|
||||
- name: Create PR if files found
|
||||
if: env.files_found == 'true'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.REPO_PR_WF }}
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
script_name="wf-test"
|
||||
|
||||
@ -92,4 +92,8 @@ jobs:
|
||||
|
||||
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}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user