diff --git a/.github/workflows/dispatch_submodule_update.yml b/.github/workflows/dispatch_submodule_update.yml new file mode 100644 index 0000000000000..08a5407f82c04 --- /dev/null +++ b/.github/workflows/dispatch_submodule_update.yml @@ -0,0 +1,33 @@ +# +# Copyright (c) 2021 Seagate Technology LLC and/or its Affiliates +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# For any questions about this software or licensing, +# please email opensource@seagate.com or cortx-questions@seagate.com. +# +name: Dispatch event for cortx submodule +on: + push: + branches: [ main ] +jobs: + dispatch: + strategy: + matrix: + repo: ['Seagate/cortx'] + runs-on: ubuntu-latest + steps: + - name: Repository Dispatch + uses: seagate/repository-dispatch@v1 + with: + token: ${{ secrets.ACCESS_TOKEN }} + repository: ${{ matrix.repo }} + event-type: submodule-update-event