We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbd59ce commit 59d24bfCopy full SHA for 59d24bf
1 file changed
.github/workflows/unit-tests-framework.yml
@@ -30,10 +30,18 @@ jobs:
30
fetch-depth: 0
31
submodules: "recursive"
32
33
+ - name: Get merge-base commit
34
+ id: merge-base
35
+ run: |
36
+ # Get the merge-base between current branch and main
37
+ MERGE_BASE=$(git merge-base HEAD origin/main)
38
+ echo "merge-base=$MERGE_BASE" >> $GITHUB_OUTPUT
39
+ echo "Merge-base commit: $MERGE_BASE"
40
+
41
- uses: step-security/changed-files@v46
42
id: changed-files
43
with:
- base_sha: main
44
+ base_sha: ${{ steps.merge-base.outputs.merge-base }}
45
files: |
46
**
47
!models/**
0 commit comments