Skip to content

Add geodude robot configuration #1

Add geodude robot configuration

Add geodude robot configuration #1

Workflow file for this run

name: Dependabot automation
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
dependabot_automation:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
env:
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
PR_URL: ${{github.event.pull_request.html_url}}
steps:
- name: Fetch metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve the PR
run: gh pr review --approve "$PR_URL"
continue-on-error: true
- name: Enable auto-merge for the PR
run: gh pr merge --auto --squash "$PR_URL"