Skip to content

Commit f72c477

Browse files
committed
ci: license action use merge-base in git diff
Currently it takes git diff between main and pull-request/merge commit. So if main moves diff is incorrect and can cause false alarms. Signed-off-by: Kari Hamalainen <kari.hamalainen@nordicsemi.no>
1 parent 217ebe9 commit f72c477

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/license-reusable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
${ZEPHYR_BASE}/../nrf/scripts/ci/check_license.py \
9494
--github \
9595
-l ${ZEPHYR_BASE}/../${{ inputs.license_allow_list }} \
96-
-c origin/${BASE_REF}..
96+
-c origin/${BASE_REF}...
9797
9898
- name: Upload results
9999
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4

0 commit comments

Comments
 (0)