Skip to content

Commit

Permalink
igwejk/even up the defaults across ghas features (#142)
Browse files Browse the repository at this point in the history
* Remove .vscode/launch.json in favour of npm scripts

* Implement validation of feature enablement config

* Separately implement filter and mapping predicates

The predicates are for filtering or mapping repository nodes.

* Ensure paginateQuery fulfills only its concern

paginateQuery should focus on the concern of returning repositories, and should not modify query results.

* Consider repository characteristics for feature

Individual repository characteristics should determin how features are enabled.

* Control calls to predicates

Otherwise they are passed wrong parameter values that stops good defaults from being used.

* Skip attempting to enable GHAS for public repos

Because it can't be disabled anyway.

* Add package-lock.json
  • Loading branch information
igwejk authored Mar 11, 2024
1 parent f280b38 commit a4995bd
Show file tree
Hide file tree
Showing 18 changed files with 6,679 additions and 121 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,5 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

.vscode
18 changes: 0 additions & 18 deletions .vscode/launch.json

This file was deleted.

Loading

0 comments on commit a4995bd

Please sign in to comment.