on: repository_dispatch: types: [create-pull-request] name: create-pull-request action testing workflow jobs: createPullRequest: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - name: Create report file run: touch report.txt - name: Create Pull Request uses: ./ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} COMMIT_MESSAGE: Add report file PULL_REQUEST_BODY: This PR is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request). PULL_REQUEST_BRANCH: test-patches PULL_REQUEST_TITLE: '[Test] Add report file'