-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
feat(appset): filtering repos by archived status #20736
base: master
Are you sure you want to change the base?
feat(appset): filtering repos by archived status #20736
Conversation
Signed-off-by: adam_buran <adam.buran@airbnb.com>
❗ Preview Environment deployment failed on BunnyshellSee: Environment Details | Pipeline Logs Available commands (reply to this comment):
|
f0a0621
to
af0b921
Compare
Signed-off-by: adam_buran <adam.buran@airbnb.com>
Signed-off-by: adam_buran <adam.buran@airbnb.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #20736 +/- ##
==========================================
- Coverage 55.17% 55.09% -0.08%
==========================================
Files 324 324
Lines 55259 55265 +6
==========================================
- Hits 30487 30450 -37
- Misses 22158 22192 +34
- Partials 2614 2623 +9 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall PR looks good!! @aburan28 can you resolve the conflicts?
@@ -160,6 +165,7 @@ spec: | |||
* `allBranches`: By default (false) the template will only be evaluated for the default branch of each repo. If this is true, every branch of every repository will be passed to the filters. If using this flag, you likely want to use a `branchMatch` filter. | |||
* `tokenRef`: A `Secret` name and key containing the Gitea access token to use for requests. If not specified, will make anonymous requests which have a lower rate limit and can only see public repositories. | |||
* `insecure`: Allow for self-signed TLS certificates. | |||
* `excludeArchivedRepos`: exclude repositories that are archived. defaults to false\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove the additional \
at the end?
Signed-off-by: Adam Buran <aburan28@gmail.com>
Signed-off-by: Adam Buran <aburan28@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aburan28 , looks like the CI are failing with your latest changes.
This PR adds a filter on repos to choose if archived repos are to be included in the scm generator.
For now this only includes github and gitea.
Closes [ISSUE https://github.com//issues/18531]
Checklist: