Step “tag” in Github Action throws me a Error: Not Found

This is the console output:

0s
Run mathieudutour/github-tag-action@v5
  with:
    github_token: ***
    default_bump: patch
    tag_prefix: v
    release_branches: production
    create_annotated_tag: false
    dry_run: false
Error: Not Found

This is the workflow file:

name: basic job

on:
  pull_request:
    branches:
      - production
    types: [closed]
jobs:
  build:
    if: github.event.pull_request.merged == true
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: tag
        id: tag_version
        uses: mathieudutour/github-tag-action@v5
        with:
          github_token: ${{ secrets.SECRET_TOKEN }}

I am not getting any specific error message, so this is a bit weird. It won’t tell me what’s not being found by the job.