diff options
-rw-r--r-- | .github/workflows/news.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/news.yml b/.github/workflows/news.yml index 8524641b11..46ac0ec02d 100644 --- a/.github/workflows/news.yml +++ b/.github/workflows/news.yml @@ -10,6 +10,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + ref: ${{ github.event.pull_request.head.sha }} - name: news.txt needs to be updated run: | for commit in $(git rev-list HEAD~${{ github.event.pull_request.commits }}..HEAD); do |