Repository navigation
build(deps): bump com.puppycrawl.tools:checkstyle from 14.1.0 to 14.3.0 #219
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Dependabot Auto-Merge | ||
|
Check warning on line 1 in .github/workflows/dependabot-auto-merge.yml
|
||
| on: pull_request_target | ||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
| jobs: | ||
| dependabot: | ||
| name: Enable Auto-Merge | ||
| runs-on: ubuntu-latest | ||
| if: github.event.pull_request.user.login == 'dependabot[bot]' | ||
| steps: | ||
| - name: Dependabot metadata | ||
| id: metadata | ||
| uses: dependabot/fetch-metadata@v3 | ||
| with: | ||
| github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
| - name: Enable auto-merge for Dependabot PRs | ||
| run: | | ||
| gh pr review --approve "$PR_URL" || true | ||
| gh pr merge --auto --merge "$PR_URL" | ||
| env: | ||
| PR_URL: ${{github.event.pull_request.html_url}} | ||
| GH_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||