diff --git a/.github/workflows/modify-workflow.yaml b/.github/workflows/modify-workflow.yaml index e92c8e3..3969807 100644 --- a/.github/workflows/modify-workflow.yaml +++ b/.github/workflows/modify-workflow.yaml @@ -52,9 +52,15 @@ jobs: git add . && git commit -m "${title}" git push origin "${fbranch}:${fbranch}" + - name: generate token + id: generate-token + uses: actions/create-github-app-token@v1 + with: + app-id: ${{ vars.APP_ID }} + private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: submit pull request env: - GH_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ steps.generate-token.outputs.token }} run: | echo '### SCI Test' > body.md echo '' >> body.md