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

Action takes a very long time to execute with no status when an user has access to hundreds of repositories #76

Open
bryantson opened this issue Jun 15, 2022 · 1 comment

Comments

@bryantson
Copy link

Problem Statement

When running this GitHub Action script, it took me more than 15 minutes to execute. See below image.

image

This is because I have access to hundreds of repositories, and action tries to grab all repositories I have access to, not necessarily one authenticated through GitHub PAT token.

https://github.com/google/secrets-sync-action/blob/master/src/github.ts#L82

And there is no log or status that gets printed out when this execution is happening.

Proposed Solution

Give an option to filter out repositories to grab from where default option should be set to only authenticated one through SSO.

@Laugslander
Copy link
Contributor

A workaround would be to use a GitHub App with access to a limited set of repositories.

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