Further automation of CompatHelper

Is there a way to make CompatHelper to automatically merge the branches it creates into the main branch after making sure that they pass the status check?
My current .yml file for CompatHelper is:

name: CompatHelper
    # Run at noon:
    - cron: "0 12 * * *"
    # Run at midnight:
    - cron: "0 0 * * *"
    runs-on: ubuntu-latest
      - name: Adding CompatHelper package
        run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
      - name: Running CompatHelper package
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
        run: julia -e 'using CompatHelper; CompatHelper.main()'
1 Like

I think you need to do some branch settings for this kind of workflow to work - and that is not a Julia-specific workflow.

You might find this as a good start: Automatically merging a pull request - GitHub Docs

I didn’t perform this setup myself - so, if there is someone who successfully did this please share your experience here.