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 fails on forked repositories #24

Closed
rarichard opened this issue Apr 11, 2022 · 1 comment
Closed

Action fails on forked repositories #24

rarichard opened this issue Apr 11, 2022 · 1 comment

Comments

@rarichard
Copy link

rarichard commented Apr 11, 2022

AFAIK, secrets aren't available on forks, so anytime someone forks our repo the action fails to run because the LaunchDarkly secret is missing.

Any ideas to mitigate?

@jazanne
Copy link
Contributor

jazanne commented Apr 11, 2022

Hi @rarichard, I would recommend setting up this action so that it doesn't run on PRs from forks or forks themselves, but still runs once they are merged. At this time I don't believe there is a GHA best practice for running an action with secrets in forks.

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