From 125cde3ec3c86956b62b8ea4d76f02b713bb1f85 Mon Sep 17 00:00:00 2001 From: Andrew Hayzen Date: Thu, 4 Apr 2024 23:04:01 +0100 Subject: [PATCH] github: trigger auto merge manually too --- .github/workflows/lock.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 3c96d52..b50253b 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -42,3 +42,14 @@ jobs: workflow_id: 'check.yml', ref: 'update_flake_lock_action', }) + + - name: trigger auto merge + uses: actions/github-script@v6 + with: + script: | + github.rest.actions.createWorkflowDispatch({ + owner: context.repo.owner, + repo: context.repo.repo, + workflow_id: 'auto-merge.yml', + ref: 'update_flake_lock_action', + })