Skip to content

filter installations by GH_ORG #783

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

Open
wants to merge 2 commits into
base: main-enterprise
Choose a base branch
from

Conversation

hilmarf
Copy link

@hilmarf hilmarf commented Mar 7, 2025

fixes: #782

Verified

This commit was signed with the committer’s verified signature.
hilmarf Hilmar Falkenberg
@decyjphr
Copy link
Collaborator

The env variable GH_ORG is a probot configuration for manifest flow. That is not a required env variable so in most cases. it would not be set.

@hilmarf there might a different way to get the org in question. Let me investigate.

@Simon-Boyer
Copy link
Contributor

Simon-Boyer commented May 8, 2025

@decyjphr Could we simply check if that variable (or even another one we define) is there and use it, if not we revert back to using installations[0]?

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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

Successfully merging this pull request may close these issues.

don't take fixed: installations[0]
3 participants