Auto Merge Dependency Updates #12621
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: Auto Merge Dependency Updates | |
| # **What it does**: Automatically merge pull requests from dependabot. | |
| # **Why we have it**: To keep our dependencies up-to-date, to avoid security issues. | |
| # **Who does it impact**: It helps docs engineering focus on higher value work. | |
| on: | |
| pull_request: | |
| paths: | |
| - 'package*.json' | |
| - 'Gemfile*' | |
| - 'Dockerfile' | |
| - '.github/workflows/**' | |
| pull_request_review: | |
| types: | |
| - edited | |
| - submitted | |
| jobs: | |
| run: | |
| if: github.repository == 'github/docs-internal' || github.repository == 'github/docs' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: tjenkinson/gh-action-auto-merge-dependency-updates@4d7756c04d9d999c5968697a621b81c47f533d61 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| allowed-actors: dependabot[bot] |