mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Added fetch from main for comparison
This commit is contained in:
@@ -48,9 +48,13 @@ jobs:
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
ref: ${{ inputs.checkout-ref }}
|
||||
- name: Fetch base branch for comparison
|
||||
if: ${{ inputs.checkout-ref != '' }}
|
||||
run: git fetch origin main --depth=1
|
||||
- uses: dorny/paths-filter@v3
|
||||
id: filter
|
||||
with:
|
||||
base: ${{ inputs.checkout-ref != '' && 'main' || '' }}
|
||||
filters: |
|
||||
dotnet:
|
||||
- 'dotnet/**'
|
||||
|
||||
@@ -38,9 +38,13 @@ jobs:
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
ref: ${{ inputs.checkout-ref }}
|
||||
- name: Fetch base branch for comparison
|
||||
if: ${{ inputs.checkout-ref != '' }}
|
||||
run: git fetch origin main --depth=1
|
||||
- uses: dorny/paths-filter@v3
|
||||
id: filter
|
||||
with:
|
||||
base: ${{ inputs.checkout-ref != '' && 'main' || '' }}
|
||||
filters: |
|
||||
python:
|
||||
- 'python/**'
|
||||
|
||||
Reference in New Issue
Block a user