From e7441711b3224ab726b0897cdd30daf6e1232615 Mon Sep 17 00:00:00 2001 From: Felix Schnabel Date: Mon, 12 Aug 2024 13:12:44 +0200 Subject: [PATCH 1/3] Use `getValue()` instead of directly accessing `Name.value` --- .../src/main/java/io/ballerina/protoc/builder/stub/Field.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protoc-cli/src/main/java/io/ballerina/protoc/builder/stub/Field.java b/protoc-cli/src/main/java/io/ballerina/protoc/builder/stub/Field.java index 8a40113..ce6475c 100644 --- a/protoc-cli/src/main/java/io/ballerina/protoc/builder/stub/Field.java +++ b/protoc-cli/src/main/java/io/ballerina/protoc/builder/stub/Field.java @@ -120,7 +120,7 @@ public Field build() { fieldDefaultValue = fieldLabel; } String fieldName = fieldDescriptor.getName(); - if (Arrays.stream(RESERVED_LITERAL_NAMES).anyMatch(fieldName::equalsIgnoreCase) || Names.ERROR.value + if (Arrays.stream(RESERVED_LITERAL_NAMES).anyMatch(fieldName::equalsIgnoreCase) || Names.ERROR.getValue() .equalsIgnoreCase(fieldName)) { fieldName = "'" + fieldName; } From b618b34983a7b7e8dfb7e8f650fc6707f017ed7b Mon Sep 17 00:00:00 2001 From: Danesh Kuruppu Date: Mon, 26 Aug 2024 16:04:44 +0530 Subject: [PATCH 2/3] Update CODEOWNERS --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d15af02..daf4731 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -4,4 +4,4 @@ # See: https://help.github.com/articles/about-codeowners/ # These owners will be the default owners for everything in the repo. -* @daneshk @MadhukaHarith92 +* @daneshk @lnash94 @shafreenAnfar From c76c41222ff98b91a458def0b3d9c895ed49b8d9 Mon Sep 17 00:00:00 2001 From: Anupama Pathirage Date: Sun, 29 Sep 2024 01:47:52 -0500 Subject: [PATCH 3/3] Delete .github/workflows/stale_check.yml --- .github/workflows/stale_check.yml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .github/workflows/stale_check.yml diff --git a/.github/workflows/stale_check.yml b/.github/workflows/stale_check.yml deleted file mode 100644 index 8763360..0000000 --- a/.github/workflows/stale_check.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: 'Close stale pull requests' - -on: - schedule: - - cron: '30 19 * * *' - workflow_dispatch: - -jobs: - stale: - runs-on: ubuntu-latest - steps: - - uses: actions/stale@v3 - with: - stale-pr-message: 'This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the `stale` label is removed or commented.' - close-pr-message: 'Closed PR due to inactivity for more than 18 days.' - days-before-pr-stale: 15 - days-before-pr-close: 3 - days-before-issue-stale: -1 - days-before-issue-close: -1