TagBot cannot see the pull request

Hi.
I’m trying to use a TagBot for a package I’m writing (here GitHub - GianlucaMastrantonio/BayesSizeAndShape.jl: Bayesian regression models for size-and-shape data).
I registered the new version of my package, but the TagBot give me this error

Did not find registry PR
processing version v0.1.3
Generating changelog for version v0.1.3
Warning: No registry pull request was found for this version
Error: TagBot experienced an unexpected internal failure

I have no idea how to fix it.

Same issue here, reported as

This happened to me for a new package (GitHub - Jutho/StridedViews.jl: A Julia package to represent strided views over a parent DenseArray) on its initial version v0.1. I’ve now made a patch update to v0.1.1 but the problem remains. I’ve reran the TagBot workflow with debug mode on. This is the full output:

##[debug]Evaluating condition for step: 'Run JuliaRegistries/TagBot@v1'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Run JuliaRegistries/TagBot@v1
##[debug]Loading inputs
##[debug]Evaluating: secrets.GITHUB_TOKEN
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'GITHUB_TOKEN'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Loading env
Run JuliaRegistries/TagBot@v1
/usr/bin/docker run --name ghcriojuliaregistriestagbot1141_b4be15 --label 6c0442 --workdir /github/workspace --rm -e "INPUT_TOKEN" -e "INPUT_REGISTRY" -e "INPUT_GITHUB" -e "INPUT_GITHUB_API" -e "INPUT_BRANCHES" -e "INPUT_DISPATCH" -e "INPUT_DISPATCH_DELAY" -e "INPUT_LOOKBACK" -e "INPUT_SSH" -e "INPUT_SSH_PASSWORD" -e "INPUT_GPG" -e "INPUT_GPG_PASSWORD" -e "INPUT_REGISTRY_SSH" -e "INPUT_DRAFT" -e "INPUT_USER" -e "INPUT_EMAIL" -e "INPUT_BRANCH" -e "INPUT_CHANGELOG" -e "INPUT_CHANGELOG_IGNORE" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_DEBUG" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/StridedViews.jl/StridedViews.jl":"/github/workspace" ghcr.io/juliaregistries/tagbot:1.14.1
##[debug]There are 2 total versions
##[debug]There are 1 new versions
##[debug]Looking for PR from branch registrator/stridedviews/4db3bf67/v0.1.1
##[debug]Trying to find PR by registry owner first (JuliaRegistries)
##[debug]Did not find registry PR by registry owner
Did not find registry PR
Processing version v0.1.1 (27ec5944c56a069e9a9ca447d5997a7d6073db5a)
##[debug]Release v0.1.1 target: 27ec5944c56a069e9a9ca447d5997a7d6073db5a
Generating changelog for version v0.1.1 (27ec5944c56a069e9a9ca447d5997a7d6073db5a)
##[debug]Running 'git clone ***github.com/Jutho/StridedViews.jl /tmp/tagbot_repo_esjo68gf'
##[debug]Running 'git -C /tmp/tagbot_repo_esjo68gf show -s --format=%cI 27ec5944c56a069e9a9ca447d5997a7d6073db5a'
##[debug]Previous version: None
##[debug]Start date: 1970-01-01 00:00:00
##[debug]End date: 2023-04-16 22:14:03
##[debug]Looking up custom release notes
##[debug]Looking for PR from branch registrator/stridedviews/4db3bf67/v0.1.1
##[debug]Trying to find PR by registry owner first (JuliaRegistries)
##[debug]Did not find registry PR by registry owner
Warning: No registry pull request was found for this version
##[debug]Changelog data: {
##[debug]  "compare_url": null,
##[debug]  "custom": null,
##[debug]  "issues": [
##[debug]    {
##[debug]      "author": {
##[debug]        "name": "Julia TagBot",
##[debug]        "url": "https://github.com/JuliaTagBot",
##[debug]        "username": "JuliaTagBot"
##[debug]      },
##[debug]      "body": "This issue is used to trigger TagBot; feel free to unsubscribe.\n\nIf you haven't already, you should update your `TagBot.yml` to include issue comment triggers.\nPlease see [this post on Discourse](https://discourse.julialang.org/t/ann-required-updates-to-tagbot-yml/49249) for instructions and more details.\n\nIf you'd like for me to do this for you, comment `TagBot fix` on this issue.\nI'll open a PR within a few hours, please be patient!\n",
##[debug]      "closer": {
##[debug]        "name": "Julia TagBot",
##[debug]        "url": "https://github.com/JuliaTagBot",
##[debug]        "username": "JuliaTagBot"
##[debug]      },
##[debug]      "labels": [],
##[debug]      "number": 1,
##[debug]      "title": "TagBot trigger issue",
##[debug]      "url": "https://github.com/Jutho/StridedViews.jl/issues/1"
##[debug]    }
##[debug]  ],
##[debug]  "package": "StridedViews",
##[debug]  "previous_release": null,
##[debug]  "pulls": [],
##[debug]  "sha": "27ec5944c56a069e9a9ca447d5997a7d6073db5a",
##[debug]  "version": "v0.1.1",
##[debug]  "version_url": "https://github.com/Jutho/StridedViews.jl/tree/v0.1.1"
##[debug]}
##[debug]Creating tag via GitHub API
Error: TagBot experienced an unexpected internal failure
Traceback (most recent call last):
  File "/root/tagbot/action/__main__.py", line 94, in <module>
    repo.create_release(version, sha)
  File "/root/tagbot/action/repo.py", line 543, in create_release
    self._repo.create_git_ref(f"refs/tags/{version}", tag.sha)
  File "/usr/local/lib/python3.8/site-packages/github/Repository.py", line 969, in create_git_ref
    headers, data = self._requester.requestJsonAndCheck(
  File "/usr/local/lib/python3.8/site-packages/github/Requester.py", line 315, in requestJsonAndCheck
    return self.__check(
  File "/usr/local/lib/python3.8/site-packages/github/Requester.py", line 340, in __check
    raise self.__createException(status, responseHeaders, output)
github.GithubException.GithubException: 403 {"message": "Resource not accessible by integration", "documentation_url": "https://docs.github.com/rest/reference/git#create-a-reference"}
##[debug]Reporting error
Response (200): {
  "status": "Submitted error report"
}
##[debug]Docker Action run completed with exit code 0
##[debug]Finishing: Run JuliaRegistries/TagBot@v1