Skip to content

EDI@Energy KohlrAHBi FV2410 Changes 2024-12-14T11-09-35 #24

EDI@Energy KohlrAHBi FV2410 Changes 2024-12-14T11-09-35

EDI@Energy KohlrAHBi FV2410 Changes 2024-12-14T11-09-35 #24

name: Dependabot auto-approve / -merge
on: pull_request
jobs:
dependabot:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{ secrets.GH_ACTION }}
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --squash "$PR_URL"