From 8513eb54e7dd85c5e85dc9bd25572f583a6edf02 Mon Sep 17 00:00:00 2001 From: dishaprakash <57954147+dishaprakash@users.noreply.github.com> Date: Fri, 10 Oct 2025 00:04:22 +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 09527f6f4e32bcdf463ad00dde37d59d56bfc478 Mon Sep 17 00:00:00 2001 From: dishaprakash <57954147+dishaprakash@users.noreply.github.com> Date: Fri, 10 Oct 2025 00:04:47 +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 0988843..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 From 59f899844fa13974080936b12da3c5e45399aaca Mon Sep 17 00:00:00 2001 From: dishaprakash <57954147+dishaprakash@users.noreply.github.com> Date: Fri, 10 Oct 2025 00:05: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 73af0464e76182de85930e7561827a4fa1a23cf8 Mon Sep 17 00:00:00 2001 From: Averi Kitsch Date: Thu, 9 Oct 2025 17:24:11 -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 9be727b4554f48fcf9a45d19cc1c96c37ec1ec22 Mon Sep 17 00:00:00 2001 From: dishaprakash <57954147+dishaprakash@users.noreply.github.com> Date: Sun, 12 Oct 2025 23:34:18 +0530 Subject: [PATCH 5/5] Update config.yml --- .github/ISSUE_TEMPLATE/config.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index fe03048..da3efeb 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,3 +1,17 @@ +# 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