-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Penny ignore reporting "Do Not Merge" PRs in Discord"
This reverts commit 538c98e.
- Loading branch information
Showing
8 changed files
with
52 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"backgroundIndexing": true, | ||
"backgroundPreparationMode": "enabled", | ||
"backgroundPreparationMode": "build", | ||
"maxCoresPercentageToUseForBackgroundIndexing": 0.7, | ||
"experimentalFeatures": ["on-type-formatting"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import GitHubAPI | ||
|
||
extension PullRequest { | ||
|
||
enum KnownLabel: String { | ||
case semVerMajor = "semver-major" | ||
case semVerMinor = "semver-minor" | ||
case semVerPatch = "semver-patch" | ||
case semVerNoOp = "semver-noop" | ||
case release = "release" | ||
case noReleaseNeeded = "no-release-needed" | ||
case translationUpdate = "translation-update" | ||
case noTranslationNeeded = "no-translation-needed" | ||
|
||
func toBump() -> SemVerBump? { | ||
switch self { | ||
case .semVerMajor: return .major | ||
case .semVerMinor: return .minor | ||
case .semVerPatch: return .patch | ||
case .release: return .releaseStage | ||
case .semVerNoOp, .noReleaseNeeded, .translationUpdate, .noTranslationNeeded: return nil | ||
} | ||
} | ||
} | ||
|
||
var knownLabels: [KnownLabel] { | ||
self.labels.compactMap { | ||
KnownLabel(rawValue: $0.name) | ||
} | ||
} | ||
} | ||
|
||
extension SimplePullRequest { | ||
var knownLabels: [PullRequest.KnownLabel] { | ||
self.labels.compactMap { | ||
PullRequest.KnownLabel(rawValue: $0.name) | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters