From 2874439d62aa51e7df36b47d0f3c0d788454e13c Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Fri, 22 Aug 2025 19:47:20 -0700 Subject: [PATCH] Update mirror.yml --- .github/workflows/mirror.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index ade312b..b28788b 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -1,9 +1,13 @@ -on: [workflow_dispatch] -permissions: write-all +on: + workflow_dispatch: + inputs: + repo: + required: true + type: string +permissions: + contents: write jobs: - sync: - uses: multipleof4/.actions/.github/workflows/git-mirror.yml@master + mirror: + uses: multipleof4/.actions/.github/workflows/repo-mirror.yml@master with: - repo: user/repo - ref: master - message: 'This build was committed by a bot.' + repo: ${{ inputs.repo }}