diff --git a/.github/workflows/depup.yml b/.github/workflows/depup.yml index 664caa2..3b9c99c 100644 --- a/.github/workflows/depup.yml +++ b/.github/workflows/depup.yml @@ -32,3 +32,29 @@ jobs: branch: depup/reviewdog base: master labels: "bump:minor" + + staticcheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: haya14busa/action-depup@v1 + id: depup + with: + file: script.sh + version_name: STATICCHECK_VERSION + repo: dominikh/go-tools + + - name: Create Pull Request + uses: peter-evans/create-pull-request@v7 + with: + token: ${{ secrets.GITHUB_TOKEN }} + title: "chore(deps): update staticcheck to ${{ steps.depup.outputs.latest }}" + commit-message: "chore(deps): update staticcheck to ${{ steps.depup.outputs.latest }}" + body: | + Update staticcheck to [v${{ steps.depup.outputs.latest }}](https://github.com/dominikh/go-tools/releases/tag/${{ steps.depup.outputs.latest }}) + Compare [v${{ steps.depup.outputs.current }}...${{ steps.depup.outputs.latest }}](https://github.com/gominikh/go-tools/compare/${{ steps.depup.outputs.current }}...${{ 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 + labels: "bump:minor"