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 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 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 a8ee760..4c2eb37 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; }