Skip to content

fix: Enable docker.io and ghcr.io mirrors by default, cache registry volumes in CI #60

fix: Enable docker.io and ghcr.io mirrors by default, cache registry volumes in CI

fix: Enable docker.io and ghcr.io mirrors by default, cache registry volumes in CI #60

name: CI - Auto-merge
on:
workflow_call:
secrets:
APP_PRIVATE_KEY:
required: true
description: "The private key for the GitHub App"
### Required Workflow Triggers ###
pull_request:
merge_group:
##################################
permissions:
pull-requests: write
contents: write
jobs:
auto-merge:
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft && (github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'renovate[bot]' || github.event.pull_request.user.login == 'botantler[bot]' || github.event.pull_request.user.login == 'devantler' || github.event.pull_request.user.login == 'Copilot') }}
steps:
- name: 📑 Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: 🔀 Auto-merge
uses: devantler-tech/actions/auto-merge-action@6d18f29330dd5818cf03c8508fb125cc05441fad # v1.9.6
with:
app_id: ${{ vars.APP_ID }}
app_private_key: ${{ secrets.APP_PRIVATE_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}