From 78295f0a748fcff58ced1e83605393c0f0ee149d Mon Sep 17 00:00:00 2001 From: haya14busa Date: Mon, 20 Sep 2021 15:07:06 +0000 Subject: [PATCH] Update README --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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 +```