Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED
This commit is contained in:
commit
aef4093716
9
.github/workflows/move-to-main-repo.yaml
vendored
9
.github/workflows/move-to-main-repo.yaml
vendored
@ -16,18 +16,19 @@ jobs:
|
||||
id: generate-token
|
||||
uses: actions/create-github-app-token@v1
|
||||
with:
|
||||
app-id: ${{ vars.MAIN_APP_ID }}
|
||||
private-key: ${{ secrets.MAIN_APP_PRIVATE_KEY }}
|
||||
app-id: ${{ vars.APP_ID }}
|
||||
private-key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: main
|
||||
token: ${{ steps.generate-token.outputs.token }}
|
||||
|
||||
- name: List Issues in Repository
|
||||
id: list_issues
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
|
||||
run: |
|
||||
echo "Filtering Issues with Label MigrationTest"
|
||||
|
||||
@ -92,6 +93,8 @@ jobs:
|
||||
|
||||
git commit -m "$commit_message"
|
||||
|
||||
gh auth status
|
||||
|
||||
git push upstream "$branch_name"
|
||||
|
||||
gh pr create --base main --head "$branch_name" --title "$commit_message" --body "This PR adds the script files for $script_name." -R $target_repo
|
||||
|
Loading…
x
Reference in New Issue
Block a user