From 32d2ff1df81dc7d7d46a00dcbe0a2cd3b7ca7957 Mon Sep 17 00:00:00 2001 From: dishaprakash <57954147+dishaprakash@users.noreply.github.com> Date: Thu, 9 Oct 2025 23:41:27 +0530 Subject: [PATCH 1/5] Create .licenserc.yaml --- .licenserc.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .licenserc.yaml diff --git a/.licenserc.yaml b/.licenserc.yaml new file mode 100644 index 0000000..4f66e34 --- /dev/null +++ b/.licenserc.yaml @@ -0,0 +1,22 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +header: + license: + spdx-id: "Apache-2.0" + copyright-owner: "Google LLC" + paths: + - "**/*.yaml" + - "**/*.yml" + - "**/*.toml" From 370d7b1993cdb794fc266acd8a6a46a9c077b09a Mon Sep 17 00:00:00 2001 From: dishaprakash <57954147+dishaprakash@users.noreply.github.com> Date: Thu, 9 Oct 2025 23:42:31 +0530 Subject: [PATCH 2/5] Delete .github/sync-repo-settings.yaml --- .github/sync-repo-settings.yaml | 38 --------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 .github/sync-repo-settings.yaml diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml deleted file mode 100644 index 469da1a..0000000 --- a/.github/sync-repo-settings.yaml +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2025 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -# Synchronize repository settings from a centralized config -# https://github.com/googleapis/repo-automation-bots/tree/main/packages/sync-repo-settings -# Install: https://github.com/apps/sync-repo-settings - -# Disable merge commits -rebaseMergeAllowed: true -squashMergeAllowed: true -mergeCommitAllowed: false -# Enable branch protection -branchProtectionRules: -- pattern: main - isAdminEnforced: true - requiredStatusCheckContexts: - - 'cla/google' - # - Add required status checks like presubmit tests - requiredApprovingReviewCount: 1 - requiresCodeOwnerReviews: true - requiresStrictStatusChecks: true - -# Set team access -permissionRules: - - team: senseai-eco - permission: admin \ No newline at end of file From d54df828ff4238f38709cfc5b08601ffe44fc534 Mon Sep 17 00:00:00 2001 From: dishaprakash <57954147+dishaprakash@users.noreply.github.com> Date: Thu, 9 Oct 2025 23:43:01 +0530 Subject: [PATCH 3/5] Create header-check.yml --- .github/workflows/header-check.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/header-check.yml diff --git a/.github/workflows/header-check.yml b/.github/workflows/header-check.yml new file mode 100644 index 0000000..c46b249 --- /dev/null +++ b/.github/workflows/header-check.yml @@ -0,0 +1,30 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: 'License Header Check' + +on: + pull_request: + branches: [ main ] + +jobs: + license-check: + name: 'License Header Check' + runs-on: ubuntu-latest + steps: + - name: 'Checkout Repository' + uses: actions/checkout@v5 + + - name: Check License Header + uses: apache/skywalking-eyes/header@main From c5f788f8f3902d02bfd3d69c21c22cc8e337b905 Mon Sep 17 00:00:00 2001 From: Averi Kitsch Date: Thu, 9 Oct 2025 17:11:49 -0700 Subject: [PATCH 4/5] Apply suggestion from @averikitsch --- .github/workflows/header-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/header-check.yml b/.github/workflows/header-check.yml index c46b249..81868b2 100644 --- a/.github/workflows/header-check.yml +++ b/.github/workflows/header-check.yml @@ -27,4 +27,4 @@ jobs: uses: actions/checkout@v5 - name: Check License Header - uses: apache/skywalking-eyes/header@main + uses: apache/skywalking-eyes/header@v0.7.0 From c5122d5fa501d98f6a0841d127ea8fcd5cea7d8b Mon Sep 17 00:00:00 2001 From: dishaprakash <57954147+dishaprakash@users.noreply.github.com> Date: Sun, 12 Oct 2025 23:41:46 +0530 Subject: [PATCH 5/5] Update config.yml --- .github/ISSUE_TEMPLATE/config.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index fe03048..305fa26 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,3 +1,18 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + blank_issues_enabled: false contact_links: - name: Google Cloud Support