Dependabot can't authenticate to a private package registry - Gradle

I am trying to use dependabot to update a Maven Dependency from a private package registry.

I try a lot of things, I am using ${{ github.token }} instead of ${{ secrets.GITHUB_TOKEN }} that is not available to dependabot

I am getting
401 https://maven.pkg.github.com:443/myorganization/managed-dependabot-lib/sample/dependabot/managed-dependabot-lib/maven-metadata.xml

Handled error whilst updating sample.dependabot:managed-dependabot-lib: private_source_authentication_failure {:source=>“https://maven.pkg.github.com/myorganization/managed-dependabot-lib”}

Bellow my dependabot.yml

version: 2
registries:
  maven-github:
    type: maven-repository
    url: https://maven.pkg.github.com/myorganization/managed-dependabot-lib
    username: dependabot[bot]
    password: ${{ github.token }}
updates:
  - package-ecosystem: "gradle"
    directory: "/"
    registries:
      - maven-github
    schedule:
      interval: "daily"