Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
CORTX-30632: Added the submodule dispatch event (#160)
Browse files Browse the repository at this point in the history
* Added the submodule dispatch event

Signed-off-by: Venkatesh K <venkatesh.k@seagate.com>

* Changed the dispatch event action

Signed-off-by: Venkatesh K <venkatesh.k@seagate.com>

Co-authored-by: Sachin Punadikar <sachin.punadikar@seagate.com>
  • Loading branch information
venkuppu-chn and Sachin Punadikar authored May 15, 2022
1 parent efce8ee commit a2ab7aa
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/dispatch_submodule_update.yml
Original file line number Diff line number Diff line change
@@ -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 <https://www.gnu.org/licenses/>.
# 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

0 comments on commit a2ab7aa

Please sign in to comment.