diff --git a/.github/workflows/shortlog.yml b/.github/workflows/shortlog.yml index 25e2b0427e..bb12246994 100644 --- a/.github/workflows/shortlog.yml +++ b/.github/workflows/shortlog.yml @@ -17,6 +17,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 # need to fetch all commits to check contributors + ref: ${{ github.event.pull_request.head.sha }} - name: Check CONTRIBUTING.md uses: cylc/release-actions/check-shortlog@v1