diff --git a/.github/workflows/create-pull-request.yml b/.github/workflows/create-pull-request.yml index c2405f3..8b99028 100644 --- a/.github/workflows/create-pull-request.yml +++ b/.github/workflows/create-pull-request.yml @@ -1,5 +1,13 @@ -- name: Create Pull Request - uses: peter-evans/create-pull-request@v1.5.4 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PULL_REQUEST_BASE: master \ No newline at end of file +on: + repository_dispatch: + types: [create-pull-request] +name: create-pull-request workflow +jobs: + createPullRequest: + runs-on: ubuntu-latest + steps: + - name: Create Pull Request + uses: peter-evans/create-pull-request@v1.5.4 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PULL_REQUEST_BASE: master \ No newline at end of file