jpoehnelt / secrets-sync-action

A Github Action that can sync secrets from one repository to many others.
https://github.com/marketplace/actions/secrets-sync-action
Apache License 2.0
314 stars 92 forks source link

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

Open bryantson opened 2 years ago

bryantson commented 2 years ago

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 commented 8 months ago

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