Skip to content

Commit 58477f1

Browse files
committed
fix: test with fecthing all commits (temp)
Signed-off-by: Philippe Martin <phmartin@redhat.com>
1 parent c96ee04 commit 58477f1

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/pr-check.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ jobs:
3737
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3838
steps:
3939
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
40+
with:
41+
fetch-depth: 5 # must be at least the number of commits in the PR
42+
43+
- name: fetch year's commits
44+
run: |
45+
git fetch --shallow-since=2025-12-30
46+
git log | tail -n 100
47+
git log -1 --format="%ad" -- packages/channels/src/channels.ts
48+
git log --format=format:COMMIT:%ad --date=format:%Y --name-only --diff-filter=ACDMRT packages/channels/src/channels.ts
4049
4150
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
4251
name: Install pnpm

0 commit comments

Comments
 (0)