I am attempting to add this to my github actions. The action works perfectly but if I add the requisite
permissions:
id-token: write
I immediately start getting errors that my repository doesn't exist (It 100% does because it works fine without the added permission). Without the permission I get an OIDC error so I know it is required. Adding it makes my action not run though.
Here is the error message with redacted repo name:
Initializing the repository
Disabling automatic garbage collection
Setting up auth
Fetching the repository
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +733056d0a9a55cbb7f249a9a52b507e3151960e4:refs/remotes/origin/master
remote: Repository not found.
Error: fatal: repository 'VALID_REPOSITORY_HERE' not found
I am attempting to add this to my github actions. The action works perfectly but if I add the requisite
I immediately start getting errors that my repository doesn't exist (It 100% does because it works fine without the added permission). Without the permission I get an OIDC error so I know it is required. Adding it makes my action not run though.
Here is the error message with redacted repo name: