diff --git a/.github/workflows/pull_request_changelog.yml b/.github/workflows/pull_request_changelog.yml index 995f5d6c..49a15123 100644 --- a/.github/workflows/pull_request_changelog.yml +++ b/.github/workflows/pull_request_changelog.yml @@ -12,7 +12,11 @@ jobs: runs-on: ubuntu-latest name: "Check that changes is described" steps: - - uses: actions/checkout@master + - name: "Checkout code" + uses: actions/checkout@master + with: + ref: ${{ github.event.pull_request.head.sha }} + fetch-depth: '0' - name: Set up Python 3.10 uses: actions/setup-python@v2 with: