Workflow update
This commit is contained in:
parent
d6ef05deec
commit
e942798b5e
8
.github/workflows/move-to-main-repo.yaml
vendored
8
.github/workflows/move-to-main-repo.yaml
vendored
@ -20,8 +20,8 @@ jobs:
|
|||||||
id: app-token
|
id: app-token
|
||||||
uses: actions/create-github-app-token@v1
|
uses: actions/create-github-app-token@v1
|
||||||
with:
|
with:
|
||||||
app-id: ${{ vars.APP_ID }}
|
app-id: ${{ vars.PUSH_MAIN_APP_ID }}
|
||||||
private-key: ${{ secrets.APP_PRIVATE_KEY }}
|
private-key: ${{ secrets.PUSH_MAIN_APP_SECRET }}
|
||||||
owner: community-scripts
|
owner: community-scripts
|
||||||
repositories: |
|
repositories: |
|
||||||
ProxmoxVE
|
ProxmoxVE
|
||||||
@ -128,7 +128,7 @@ jobs:
|
|||||||
- name: Clone ProxmoxVE (Target Repo)
|
- name: Clone ProxmoxVE (Target Repo)
|
||||||
run: |
|
run: |
|
||||||
script_name="${{ steps.list_issues.outputs.script_name }}"
|
script_name="${{ steps.list_issues.outputs.script_name }}"
|
||||||
git clone https://x-access-token:${{ secrets.GH_MERGE_PAT }}@github.com/community-scripts/ProxmoxVE.git ProxmoxVE
|
git clone https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/community-scripts/ProxmoxVE.git ProxmoxVE
|
||||||
cd ProxmoxVE
|
cd ProxmoxVE
|
||||||
|
|
||||||
if [[ -f "ct/${script_name}.sh" ]]; then
|
if [[ -f "ct/${script_name}.sh" ]]; then
|
||||||
@ -166,7 +166,7 @@ jobs:
|
|||||||
- name: Create Pull Request in ProxmoxVE
|
- name: Create Pull Request in ProxmoxVE
|
||||||
id: create_pull_request
|
id: create_pull_request
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_MERGE_PAT }}
|
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
||||||
run: |
|
run: |
|
||||||
script_name="${{ steps.list_issues.outputs.script_name }}"
|
script_name="${{ steps.list_issues.outputs.script_name }}"
|
||||||
gh pr create \
|
gh pr create \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user