build(deps): bump the framework group across 1 directory with 4 updates #878
Workflow file for this run
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: Auto Merge PRs from dependabot | |
on: | |
pull_request_target: | |
types: [opened, synchronize] | |
jobs: | |
autoapprove-for-bot: | |
name: Autoaprove PRs fom dependabot | |
runs-on: ubuntu-latest | |
if: > | |
contains(fromJson('"dependabot[bot]", "dependabot-preview[bot]"]'), github.event.pull_request.user.login) && | |
contains(fromJson('"dependabot[bot]", "dependabot-preview[bot]"]'), github.actor) | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- name: Autoaprove | |
uses: hmarr/auto-approve-action@8f929096a962e83ccdfa8afcf855f39f12d4dac7 # v4 | |
with: | |
review-message: 'Auto approved automated PR' | |
github-token: ${{ secrets.GH_TOKEN_BOT_PR }} | |
- name: Label automerge | |
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
script: | | |
github.rest.issues.addLabels({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
labels: ['automerge'] | |
}) |