From 26f62830d9cd53a93267bd9f70a7e32b1d2023e5 Mon Sep 17 00:00:00 2001 From: "S. Amir Mohammad Najafi" Date: Sat, 4 Jan 2025 08:18:38 +0330 Subject: [PATCH] feat(dependency-review): add inputs for base_ref and head_ref in workflow --- .github/workflows/dependency-review.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/dependency-review.yaml b/.github/workflows/dependency-review.yaml index dd90cf1..2cfe0ad 100644 --- a/.github/workflows/dependency-review.yaml +++ b/.github/workflows/dependency-review.yaml @@ -4,6 +4,17 @@ name: Dependency Review on: workflow_call: + inputs: + base_ref: + description: 'The base ref for the dependency review' + required: false + type: string + default: 'next' + head_ref: + description: 'The head ref for the dependency review' + required: false + type: string + default: 'next' permissions: contents: read @@ -19,3 +30,6 @@ jobs: - name: 🚀 Dependency Review uses: actions/dependency-review-action@v4 + with: + base-ref: ${{ inputs.base_ref }} + head-ref: ${{ inputs.head_ref }}