Skip to content

Conversation

@simonbs
Copy link
Contributor

@simonbs simonbs commented Jul 25, 2024

❗ This PR depends on #278 and should not be merged before that PR is merged.

Introduces FilteringGitHubRepositoryDataSource which can be used to filter out repositories such that they ultimately do not appear on our list of projects.

The repositories to filter out should be specified in the new HIDDEN_REPOSITORIES environment variable like this:

HIDDEN_REPOSITORIES=acme/foo-openapi

Motivation and Context

We will use this new feature to hide the shapehq/starter-openapi from the list of projects.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

@simonbs simonbs requested a review from ulrikandersen as a code owner July 25, 2024 09:57
@simonbs simonbs marked this pull request as draft July 25, 2024 09:57
@github-actions
Copy link

⚠️ It looks like .env.example has changed. Remember to update the Setting Environment Variables article accordingly.

@simonbs simonbs changed the title Feature/filter repositories Adds HIDDEN_REPOSITORIES to filter out repositories Jul 25, 2024
Base automatically changed from enhancement/githubprojectdatasource-refactor to develop July 29, 2024 09:06
@simonbs simonbs marked this pull request as ready for review July 29, 2024 09:06
@simonbs simonbs enabled auto-merge July 29, 2024 09:09
Copy link
Contributor

@ulrikandersen ulrikandersen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@simonbs simonbs merged commit ff0cd93 into develop Jul 29, 2024
@simonbs simonbs deleted the feature/filter-repositories branch July 29, 2024 09:10
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.

2 participants