Skip to content

[DDO-3870] Azure account provisioning via propagation #minor #261

[DDO-3870] Azure account provisioning via propagation #minor

[DDO-3870] Azure account provisioning via propagation #minor #261

name: Dependabot Auto-Merge
on:
pull_request:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
dependabot-automerge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Approve PR as Dependabot
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr review --approve "$PR_URL"
- name: Approve PR as Broadbot
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.BROADBOT_TOKEN }}
run: |
gh pr review --approve "$PR_URL"
- name: Enable auto-merge for PR as Broadbot
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.BROADBOT_TOKEN }}
run: |
gh pr merge --auto --squash "$PR_URL"