Skip to content

Install GH Actions extension in CodeSpaces #24

Install GH Actions extension in CodeSpaces

Install GH Actions extension in CodeSpaces #24

name: Auto-merge Dependabot PR
on:
pull_request:
branches: [master]
permissions:
contents: write
pull-requests: write
jobs:
dependabot-pr:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --merge --auto "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}