From 4a3583cfd2f5ac4eaf4ffa8588b533b0ec207db9 Mon Sep 17 00:00:00 2001 From: Tsuyoshi CHO Date: Thu, 11 Feb 2021 20:12:29 +0900 Subject: [PATCH 1/3] Update example and reviewdog.yml --- .github/workflows/depup.yml | 22 ++++++++++------------ README.md | 15 ++++++++------- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/.github/workflows/depup.yml b/.github/workflows/depup.yml index 7a48f2f..34d78df 100644 --- a/.github/workflows/depup.yml +++ b/.github/workflows/depup.yml @@ -22,14 +22,13 @@ jobs: uses: peter-evans/create-pull-request@v3 with: token: ${{ secrets.GITHUB_TOKEN }} - title: "chore(deps): update reviewdog to ${{ steps.depup.outputs.latest }}" - commit-message: "chore(deps): update reviewdog to ${{ steps.depup.outputs.latest }}" + title: "chore(deps): update ${{ github.job }} to ${{ steps.depup.outputs.latest }}" + commit-message: "chore(deps): update ${{ github.job }} to ${{ steps.depup.outputs.latest }}" body: | - Update reviewdog to [${{ steps.depup.outputs.latest }}](https://github.com/reviewdog/reviewdog/releases/tag/v${{ steps.depup.outputs.latest }}) + Update ${{ github.job }} to [${{ steps.depup.outputs.latest }}](https://github.com/${{ steps.depup.outputs.repo }}/releases/tag/v${{ steps.depup.outputs.latest }}) - This PR is auto generated by [depup workflow](https://github.com/${{ github.repository }}/actions?query=workflow%3Adepup). - branch: depup/reviewdog - base: master + This PR is auto generated by [depup workflow](https://github.com/${{ github.repository }}/actions?query=workflow%3A${{ github.workflow }}). + branch: depup/${{ github.job }} redpen: runs-on: ubuntu-latest @@ -46,11 +45,10 @@ jobs: uses: peter-evans/create-pull-request@v3 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 }}" + title: "chore(deps): update ${{ github.job }} to ${{ steps.depup.outputs.latest }}" + commit-message: "chore(deps): update ${{ github.job }} 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 }}) + Update ${{ github.job }} to [${{ steps.depup.outputs.latest }}](https://github.com/${{ steps.depup.outputs.repo }}/releases/tag/v${{ 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 + This PR is auto generated by [depup workflow](https://github.com/${{ github.repository }}/actions?query=workflow%3A${{ github.workflow }}). + branch: depup/${{ github.job }} diff --git a/README.md b/README.md index 98d40a2..583949e 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ on: - cron: '14 14 * * *' jobs: - depup: + reviewdog: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -80,12 +80,13 @@ jobs: uses: peter-evans/create-pull-request@v3 with: token: ${{ secrets.GITHUB_TOKEN }} - title: "chore(deps): update reviewdog to ${{ steps.depup.outputs.latest }}" - commit-message: "chore(deps): update reviewdog to ${{ steps.depup.outputs.latest }}" + title: "chore(deps): update ${{ github.job }} to ${{ steps.depup.outputs.latest }}" + commit-message: "chore(deps): update ${{ github.job }} to ${{ steps.depup.outputs.latest }}" body: | - Update reviewdog to [${{ steps.depup.outputs.latest }}](https://github.com/reviewdog/reviewdog/releases/tag/v${{ steps.depup.outputs.latest }}) + Update ${{ github.job }} to [${{ steps.depup.outputs.latest }}](https://github.com/${{ steps.depup.outputs.repo }}/releases/tag/v${{ steps.depup.outputs.latest }}) - This PR is auto generated by [depup workflow](https://github.com/${{ github.repository }}/actions?query=workflow%3Adepup). - branch: depup/reviewdog - base: master + This PR is auto generated by [depup workflow](https://github.com/${{ github.repository }}/actions?query=workflow%3A${{ github.workflow }}). + branch: depup/${{ github.job }} ``` + + (This example depends on workflow name/job name, please rewrite to your target) From 96821dc2cdc704978761f7d192384de0213aeded Mon Sep 17 00:00:00 2001 From: Tsuyoshi CHO Date: Fri, 12 Feb 2021 08:39:04 +0900 Subject: [PATCH 2/3] Fix review suggest --- .github/workflows/depup.yml | 16 ++++++++-------- README.md | 10 ++++------ 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/depup.yml b/.github/workflows/depup.yml index 34d78df..3a8a819 100644 --- a/.github/workflows/depup.yml +++ b/.github/workflows/depup.yml @@ -22,13 +22,13 @@ jobs: uses: peter-evans/create-pull-request@v3 with: token: ${{ secrets.GITHUB_TOKEN }} - title: "chore(deps): update ${{ github.job }} to ${{ steps.depup.outputs.latest }}" - commit-message: "chore(deps): update ${{ github.job }} to ${{ steps.depup.outputs.latest }}" + title: "chore(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}" + commit-message: "chore(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}" body: | - Update ${{ github.job }} to [${{ steps.depup.outputs.latest }}](https://github.com/${{ steps.depup.outputs.repo }}/releases/tag/v${{ steps.depup.outputs.latest }}) + Update ${{ steps.depup.outputs.repo }} to [${{ steps.depup.outputs.latest }}](https://github.com/${{ steps.depup.outputs.repo }}/releases/tag/v${{ steps.depup.outputs.latest }}) This PR is auto generated by [depup workflow](https://github.com/${{ github.repository }}/actions?query=workflow%3A${{ github.workflow }}). - branch: depup/${{ github.job }} + branch: depup/${{ steps.depup.outputs.repo }} redpen: runs-on: ubuntu-latest @@ -45,10 +45,10 @@ jobs: uses: peter-evans/create-pull-request@v3 with: token: ${{ secrets.GITHUB_TOKEN }} - title: "chore(deps): update ${{ github.job }} to ${{ steps.depup.outputs.latest }}" - commit-message: "chore(deps): update ${{ github.job }} to ${{ steps.depup.outputs.latest }}" + title: "chore(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}" + commit-message: "chore(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}" body: | - Update ${{ github.job }} to [${{ steps.depup.outputs.latest }}](https://github.com/${{ steps.depup.outputs.repo }}/releases/tag/v${{ steps.depup.outputs.latest }}) + Update ${{ steps.depup.outputs.repo }} to [${{ steps.depup.outputs.latest }}](https://github.com/${{ steps.depup.outputs.repo }}/releases/tag/v${{ steps.depup.outputs.latest }}) This PR is auto generated by [depup workflow](https://github.com/${{ github.repository }}/actions?query=workflow%3A${{ github.workflow }}). - branch: depup/${{ github.job }} + branch: depup/${{ steps.depup.outputs.repo }} diff --git a/README.md b/README.md index 583949e..d243d56 100644 --- a/README.md +++ b/README.md @@ -80,13 +80,11 @@ jobs: uses: peter-evans/create-pull-request@v3 with: token: ${{ secrets.GITHUB_TOKEN }} - title: "chore(deps): update ${{ github.job }} to ${{ steps.depup.outputs.latest }}" - commit-message: "chore(deps): update ${{ github.job }} to ${{ steps.depup.outputs.latest }}" + title: "chore(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}" + commit-message: "chore(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}" body: | - Update ${{ github.job }} to [${{ steps.depup.outputs.latest }}](https://github.com/${{ steps.depup.outputs.repo }}/releases/tag/v${{ steps.depup.outputs.latest }}) + Update ${{ steps.depup.outputs.repo }} to [${{ steps.depup.outputs.latest }}](https://github.com/${{ steps.depup.outputs.repo }}/releases/tag/v${{ steps.depup.outputs.latest }}) This PR is auto generated by [depup workflow](https://github.com/${{ github.repository }}/actions?query=workflow%3A${{ github.workflow }}). - branch: depup/${{ github.job }} + branch: depup/${{ steps.depup.outputs.repo }} ``` - - (This example depends on workflow name/job name, please rewrite to your target) From df2714bdc9f52b1783061f1fc82c46eaed4afeae Mon Sep 17 00:00:00 2001 From: Tsuyoshi CHO Date: Sat, 13 Feb 2021 09:08:54 +0900 Subject: [PATCH 3/3] ci: fix redpen release name --- .github/workflows/depup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/depup.yml b/.github/workflows/depup.yml index 3a8a819..5d3ebaa 100644 --- a/.github/workflows/depup.yml +++ b/.github/workflows/depup.yml @@ -48,7 +48,7 @@ jobs: title: "chore(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}" commit-message: "chore(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}" body: | - Update ${{ steps.depup.outputs.repo }} to [${{ steps.depup.outputs.latest }}](https://github.com/${{ steps.depup.outputs.repo }}/releases/tag/v${{ steps.depup.outputs.latest }}) + Update ${{ steps.depup.outputs.repo }} to [${{ steps.depup.outputs.latest }}](https://github.com/${{ steps.depup.outputs.repo }}/releases/tag/redpen-${{ steps.depup.outputs.latest }}) 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 }}