Branch name preview aliases not being created

Hi! I'm running a github actions CI pipeline to create cloudflare preview deployments for every pull request using https://github.com/cloudflare/pages-action.

https://developers.cloudflare.com/pages/configuration/preview-deployments/#preview-aliases mentions that preview aliases should be created automatically with the format <branch>.<project>.pages.dev. However I'm not seeing any preview aliases being created except for head.<project>.pages.dev. Otherwise the preview deployments are working fine and are accessible at <hash>.<project>.pages.dev.

Could anyone help me figure out why the branch name preview aliases are not being created?

Snippet from my github actions workflow file:
      - name: Publish preview deploy
        uses: cloudflare/pages-action@1
        with:
          apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
          accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
          projectName: ...
          directory: ...
          gitHubToken: ${{ secrets.GITHUB_TOKEN }}
Cloudflare Docs
Preview deployments allow you to preview new versions of your project without deploying it to production. To view preview deployments:
Was this page helpful?