Skip to content

Bump braces from 3.0.2 to 3.0.3 in /frontend-app #96

Bump braces from 3.0.2 to 3.0.3 in /frontend-app

Bump braces from 3.0.2 to 3.0.3 in /frontend-app #96

name: Dependabot auto-merge
on: pull_request
permissions:
pull-requests: write
jobs:
dependabot:
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
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Get branch name
run: echo "PR_BRANCH=$(jq -r .pull_request.head.ref < $GITHUB_EVENT_PATH)" >> $GITHUB_ENV
- name: Checkout the pull request branch
run: git checkout ${{ env.PR_BRANCH }}
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
PR_URL: ${{ github.event.pull_request.html_url }}