File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 44
55on :
66 workflow_call :
7+ inputs :
8+ base-branch :
9+ description : ' The base branch to compare changes against'
10+ required : false
11+ type : string
12+ default : ' main'
713jobs :
814 generate-missing :
915 runs-on : [self-hosted, Linux]
1723 repository : ${{ github.event.repository.name }}
1824 gh-api-token : ${{ env.GH_API_TOKEN }}
1925 soup-approvers : ${{ vars.SOUP_APPROVERS }}
20- base-branch : origin/${{ github.event.pull_request.base.ref || 'main' }}
26+ base-branch : origin/${{ github.event.pull_request.base.ref || inputs.base-branch || 'main' }}
Original file line number Diff line number Diff line change 44
55on :
66 workflow_call :
7+ inputs :
8+ base-branch :
9+ description : ' The base branch to compare against (e.g., main)'
10+ required : false
11+ default : ' main'
712jobs :
813 generate-missing :
914 runs-on : [self-hosted, Linux]
1924 repository : ${{ github.event.repository.name }}
2025 gh-api-token : ${{ env.GH_API_TOKEN }}
2126 soup-approvers : ${{ vars.SOUP_APPROVERS }}
27+ base-branch : ${{ inputs.base-branch }}
You can’t perform that action at this time.
0 commit comments