Skip to content

Bump actions/checkout from 4.2.2 to 7.0.0 #138

Bump actions/checkout from 4.2.2 to 7.0.0

Bump actions/checkout from 4.2.2 to 7.0.0 #138

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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Install tparse
run: go install github.com/mfridman/tparse@v0.12.2
- run: |
go mod tidy
- run: |
go test ./...
- run: |
bazel mod tidy
- 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 mod tidy"
git push origin "HEAD:${GITHUB_HEAD_REF}"
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}}