Skip to content

Update auto-merge.yml #1

Update auto-merge.yml

Update auto-merge.yml #1

Workflow file for this run

name: Activate Auto-Merge (Squash) on a PR
on: pull_request_target
permissions:
contents: write
pull-requests: write
jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- name: Enable auto-merge for open PRs
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GREENBONE_BOT_TOKEN}}