Skip to content

Bump golangci/golangci-lint-action from 4 to 5 #131

Bump golangci/golangci-lint-action from 4 to 5

Bump golangci/golangci-lint-action from 4 to 5 #131

Workflow file for this run

name: merge dependabot
on:
pull_request:
types: [labeled]
jobs:
merge:
if: ${{github.event.label.name == 'dependabot'}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install tparse
run: go install github.com/mfridman/tparse@v0.12.2
- run: |
make tidy
- run: |
make test
- run: |
bazel run //:gazelle-update-repos
- run: |
bazel build //...
- run: |
git config --local user.name 'Daisuke Maki'
git config --local user.email '41898282+github-actions[bot]@users.noreply.github.com'
git add .
git commit -m "Run tidy / bazel+gazelle"
git push
gh pr review --approve "$PR_URL"
gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}