WF
This commit is contained in:
parent
b414b24cad
commit
8a23256c74
13
.github/workflows/move-to-main-repo.yaml
vendored
13
.github/workflows/move-to-main-repo.yaml
vendored
@ -8,9 +8,16 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
env:
|
pull-requests: write
|
||||||
GH_TOKEN: ${{ github.token }}
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Generate a token
|
||||||
|
id: generate-token
|
||||||
|
uses: actions/create-github-app-token@v1
|
||||||
|
with:
|
||||||
|
app-id: ${{ vars.APP_ID }}
|
||||||
|
private-key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@ -53,6 +60,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Create PR if files found
|
- name: Create PR if files found
|
||||||
if: env.files_found == 'true'
|
if: env.files_found == 'true'
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
|
||||||
run: |
|
run: |
|
||||||
|
|
||||||
target_repo="community-scripts/ProxmoxVE"
|
target_repo="community-scripts/ProxmoxVE"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user