chore(deps-dev): bump @types/node from 16.18.101 to 16.18.102 in /frontend #8784
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: Dependabot Approve and Merge | |
on: | |
pull_request_target: | |
types: [opened, synchronize, reopened] | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
auto-approve-and-merge: | |
runs-on: ubuntu-latest | |
if: github.actor == 'dependabot[bot]' | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Dependabot metadata | |
id: metadata | |
uses: dependabot/fetch-metadata@v1.1.1 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Approve PR | |
if: steps.metadata.outputs.update-type != 'version-update:semver-major' | |
run: | | |
gh pr review --approve "${{ github.event.pull_request.html_url }}" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Enable auto-merge for minor and patch PRs | |
if: steps.metadata.outputs.update-type != 'version-update:semver-major' | |
run: | | |
gh pr merge --auto --rebase "${{ github.event.pull_request.html_url }}" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |