# Copyright (c) 2024 Project CHIP Authors
#
# 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: Check for Unintentional Submodule Updates

on:
    pull_request:
        branches-ignore:
            - "dependabot/**"
        paths:
            - "third_party/**"
            - ".gitmodules"

jobs:
    check-submodule-update-label:
        name: Check For Submodule Update Label
        runs-on: ubuntu-latest
        steps:
            - if: ${{ !contains(github.event.pull_request.labels.*.name, 'changing-submodules-on-purpose') }}
              name: Fail
              run: |
                  echo This pull request attempts to update submodules without the changing-submodules-on-purpose label. Please apply that label if the changes are intentional, or remove those changes.
                  exit 1
            - if: ${{ contains(github.event.pull_request.labels.*.name, 'changing-submodules-on-purpose') }} 
              name: Success
              run: |
                  echo PR looks good.
                  exit 0
