github.com/lestrrat-go/jwx/v2@v2.0.21/.github/workflows/dependabot.yml (about) 1 name: merge dependabot 2 on: 3 pull_request: 4 types: [labeled] 5 6 jobs: 7 merge: 8 if: ${{github.event.label.name == 'dependabot'}} 9 runs-on: ubuntu-latest 10 11 steps: 12 - uses: actions/checkout@v4 13 - run: | 14 make tidy 15 - run: | 16 make test 17 - run: | 18 bazel run //:gazelle-update-repos 19 - run: | 20 bazel build //... 21 - run: | 22 git config --local user.name 'Daisuke Maki' 23 git config --local user.email '41898282+github-actions[bot]@users.noreply.github.com' 24 git add . 25 git commit -m "Run tidy / bazel+gazelle" 26 git push origin ${{ github.ref_name }} 27 gh pr review --approve "$PR_URL" 28 gh pr merge --auto --merge "$PR_URL" 29 env: 30 PR_URL: ${{github.event.pull_request.html_url}} 31 GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}