Skip to content

Commit c1e3188

Browse files
gh-checks: fetch main branch
1 parent 5334264 commit c1e3188

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/checks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
run: sudo apt install -y fd-find
2222

2323
- uses: actions/checkout@v5
24+
with:
25+
fetch-depth: 0
2426

2527
- name: Check changelogs
2628
run: ./scripts/ci/check-changelogs.sh

scripts/ci/check-changelogs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -eo pipefail
66

77
RESULT=0
88

9-
MERGE_BASE=$(git merge-base main HEAD)
9+
MERGE_BASE=$(git merge-base origin/main HEAD)
1010

1111
function check_project () {
1212
project=$1

0 commit comments

Comments
 (0)