diff --git a/README.md b/README.md index 0170979..633e39e 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,7 @@ name: depup on: schedule: - cron: '14 14 * * *' + workflow_dispatch: jobs: reviewdog: @@ -92,3 +93,26 @@ jobs: This PR is auto generated by [depup workflow](https://github.com/${{ github.repository }}/actions?query=workflow%3A${{ github.workflow }}). branch: depup/${{ steps.depup.outputs.repo }} ``` + +### Run depup, and then create PR + +If you want to create a PR after, you can use `reviewdog/action-depup/with-pr@v1` action. + +```yml +name: depup +on: + schedule: + - cron: '14 14 * * *' + workflow_dispatch: + +jobs: + reviewdog: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: reviewdog/action-depup/with-pr@v1 + with: + file: testdata/testfile + version_name: REVIEWDOG_VERSION + repo: reviewdog/reviewdog +```