chore(deps-dev): Bump eslint-plugin-jest from 26.8.7 to 28.2.0 #14833
This file contains 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: "Label Dependabot PR" | |
on: | |
pull_request_target: | |
types: | |
- labeled | |
- unlabeled | |
- synchronize | |
- opened | |
- edited | |
- ready_for_review | |
- reopened | |
- unlocked | |
jobs: | |
labels: | |
runs-on: ubuntu-latest | |
# run only for dependabot prs | |
if: startsWith(github.event.pull_request.user.login, 'dependabot') | |
steps: | |
- uses: jurijzahn8019/action-dependabot-bump-range@v0.0.117 | |
id: checker | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Add Pull Request Label | |
uses: actions-ecosystem/action-add-labels@v1.1.3 | |
if: steps.checker.outputs.diff != 'major' | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
labels: "pull: automerge" | |
- name: Add Pull Request Label for Version Diff | |
uses: actions-ecosystem/action-add-labels@v1.1.3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
labels: "dependency: ${{ steps.checker.outputs.diff }}" |