diff --git a/.github/workflows/depup.yml b/.github/workflows/depup.yml index 53346d9..d2a46ca 100644 --- a/.github/workflows/depup.yml +++ b/.github/workflows/depup.yml @@ -4,7 +4,7 @@ on: - cron: '35 9 * * *' jobs: - depup: + depup-reviewdog: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -29,3 +29,28 @@ jobs: branch: depup/reviewdog base: master labels: 'bump:patch' + depup-redpen: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - uses: haya14busa/action-depup@v1 + id: depup + with: + file: Dockerfile + version_name: REDPEN_VERSION + repo: redpen-cc/redpen + + - name: Create Pull Request + uses: peter-evans/create-pull-request@v2 + with: + token: ${{ secrets.GITHUB_TOKEN }} + title: "chore(deps): update redpen to ${{ steps.depup.outputs.latest }}" + commit-message: "chore(deps): update redpen to ${{ steps.depup.outputs.latest }}" + body: | + Update redpen to [${{ steps.depup.outputs.latest }}](https://github.com/redpen-cc/redpen/releases/tag/redpen-${{ steps.depup.outputs.latest }}) + + This PR is auto generated by [depup workflow](https://github.com/${{ github.repository }}/actions?query=workflow%3Adepup). + branch: depup/redpen + base: master + labels: 'bump:patch'