This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch github-actions
in repository https://gitbox.apache.org/repos/asf/struts-examples.git


The following commit(s) were added to refs/heads/github-actions by this push:
     new ddf7bbf  Uses gh command line tool instead of forbidden automerge 
action
ddf7bbf is described below

commit ddf7bbf68b27f3b266e8e5bbc3b44b70fae283b4
Author: Lukasz Lenart <[email protected]>
AuthorDate: Thu Oct 13 07:29:02 2022 +0200

    Uses gh command line tool instead of forbidden automerge action
---
 .github/workflows/maven.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 2730808..6cacd70 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -52,6 +52,7 @@ jobs:
           PR_URL: ${{ github.event.pull_request.html_url }}
       - name: Automerge
         if: matrix.java == '17' && github.actor == 'dependabot[bot]'
-        uses: pascalgn/[email protected]
+        run: gh pr merge -m "$PR_URL"
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          PR_URL: ${{ github.event.pull_request.html_url }}

Reply via email to