Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repository not found #578

Closed
asehrawat24 opened this issue Oct 17, 2024 · 3 comments
Closed

repository not found #578

asehrawat24 opened this issue Oct 17, 2024 · 3 comments

Comments

@asehrawat24
Copy link

Hi, I am getting an error - Token scopes: 'admin:org', 'admin:repo_hook', 'repo', 'workflow'
::info::Missing env variable 'UPSTREAM_BRANCH' setting to remote default main
remote: Repository not found.
fatal: repository 'https://github.my-company.com/github-actions/python-fastapi-template/' not found
fatal: Needed a single revision
Error: Process completed with exit code 128.
I followed the token instructions and access for actions is enabled too.
but the repo does exist and can be even accessed through the url in the error

@AndreasAugustin
Copy link
Owner

Hi @asehrawat24 this is possibly related to the conversation within #557
Possibly changing the action/download action to have flag persist-credentials: false helps.

-
      name: Checkout
      uses: actions/checkout@v4
      with:
        # not sure yet why needed
        persist-credentials: false

Personally I do not understand the root cause yet (if this is the solution)

@asehrawat24
Copy link
Author

ah it worked thank you!

@AndreasAugustin
Copy link
Owner

closing because solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants