When changing the PR title github.event.pull_request.title won't pick up the new title

Hi, I have commitlinting enabled in my workflows but facing the issue that seems to occur randomly. Sometimes the PR title is longer than my commitlint actions is expecting which fails the build (that’s expected behaviour). But when I change the title and rerun the action the new title is not always picked up.
The workflow is something like this:

name: Pull request - Build
on: 
  pull_request:
    branches:
        - master
  commitlint: 
    runs-on: ubuntu-latest
    steps: 
      - uses: actions/checkout@v1

      - name: Lint pull request title
        uses: secretcompany/myactions/commitlint@v0
        with: 
          message: ${{ github.event.pull_request.title }}

Have somebody faced the same issue?