Skip to content

Bump actions/setup-go from 4 to 5 #52

Bump actions/setup-go from 4 to 5

Bump actions/setup-go from 4 to 5 #52

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
- run: |
make tidy
- run: |
make test
- run: |
bazel run //:gazelle-update-repos
- run: |
bazel build //...
- run: |
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}}