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
|
||||
|
||||
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
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
@ -66,7 +73,7 @@ jobs:
|
||||
- name: Create PR if files found
|
||||
if: env.files_found == 'true'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
|
||||
run: |
|
||||
script_name="wf-test"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user