From e664b8d93f9be818bc0b5f5a28d5adc9f6ede44a Mon Sep 17 00:00:00 2001 From: "ZeroHost[bot]" Date: Thu, 16 Jul 2026 16:11:11 +0000 Subject: [PATCH 1/3] Update README to add the bot in contributors list --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c03d2b8..0314a2f 100644 --- a/README.md +++ b/README.md @@ -561,3 +561,4 @@ Both use SSH credentials configured as GitHub repository secrets (`SSH_HOST`, `S ## GitHub Stats ![Alt](https://repobeats.axiom.co/api/embed/2f957f930d36f4a2913f8aeb07712cedbd4b38c5.svg "Repobeats analytics image") + From 07a58665677ca679456662457efa4d6e9b4addd4 Mon Sep 17 00:00:00 2001 From: ddrayko Date: Fri, 17 Jul 2026 15:42:28 +0200 Subject: [PATCH 2/3] Add auto-merge workflow for ddrayko PRs with versioned titles --- .github/workflows/auto-merge-pr.yml | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/auto-merge-pr.yml diff --git a/.github/workflows/auto-merge-pr.yml b/.github/workflows/auto-merge-pr.yml new file mode 100644 index 0000000..bc56887 --- /dev/null +++ b/.github/workflows/auto-merge-pr.yml @@ -0,0 +1,32 @@ +name: Auto-merge PR from ddrayko + +on: + pull_request_target: + types: [opened, edited, synchronize, reopened] + +permissions: + contents: write + pull-requests: write + +jobs: + auto-merge: + if: github.event.pull_request.user.login == 'ddrayko' + runs-on: ubuntu-latest + steps: + - name: Check PR title format + id: check_title + env: + TITLE: ${{ github.event.pull_request.title }} + run: | + if echo "$TITLE" | grep -qE '^v[0-9]+\.[0-9]+\.[0-9]+$'; then + echo "match=true" >> "$GITHUB_OUTPUT" + else + echo "match=false" >> "$GITHUB_OUTPUT" + fi + + - name: Auto-merge + if: steps.check_title.outputs.match == 'true' + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh pr merge "${{ github.event.pull_request.html_url }}" --merge --auto From 5233c885fc60b5427935e6cb126bb1caf7dc3e29 Mon Sep 17 00:00:00 2001 From: ddrayko Date: Fri, 17 Jul 2026 15:44:22 +0200 Subject: [PATCH 3/3] Use BOT_TOKEN instead of GITHUB_TOKEN for auto-merge --- .github/workflows/auto-merge-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-merge-pr.yml b/.github/workflows/auto-merge-pr.yml index bc56887..5ad0ab1 100644 --- a/.github/workflows/auto-merge-pr.yml +++ b/.github/workflows/auto-merge-pr.yml @@ -27,6 +27,6 @@ jobs: - name: Auto-merge if: steps.check_title.outputs.match == 'true' env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.BOT_TOKEN }} run: | gh pr merge "${{ github.event.pull_request.html_url }}" --merge --auto