Update move-to-main-repo.yaml
This commit is contained in:
parent
59b2dacedd
commit
481897ef27
9
.github/workflows/move-to-main-repo.yaml
vendored
9
.github/workflows/move-to-main-repo.yaml
vendored
@ -12,6 +12,13 @@ jobs:
|
|||||||
actions: write
|
actions: write
|
||||||
|
|
||||||
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:
|
||||||
@ -66,7 +73,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: ${{ github.token }}
|
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
|
||||||
run: |
|
run: |
|
||||||
script_name="wf-test"
|
script_name="wf-test"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user