Skip to content

Commit

Permalink
Added auto submodule update pipeline (openmainframeproject#206)
Browse files Browse the repository at this point in the history
* added auto submodule update

Signed-off-by: rachejazz <[email protected]>
(cherry picked from commit 1d40478)

* added auto submodule update

Signed-off-by: rachejazz <[email protected]>
(cherry picked from commit e69e4a8)

* added auto submodule update

Signed-off-by: rachejazz <[email protected]>
(cherry picked from commit fcc67d7)

* added auto submodule update

Signed-off-by: rachejazz <[email protected]>
(cherry picked from commit 399710f)

* Revert "added auto submodule update"

This reverts commit e4f3739.

Signed-off-by: rachejazz <[email protected]>
(cherry picked from commit 3dbe957)

* updated name of parent repo

Signed-off-by: rachejazz <[email protected]>

---------

Signed-off-by: rachejazz <[email protected]>
  • Loading branch information
rachejazz authored Jun 13, 2024
1 parent 9b9fb93 commit 04fca24
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/updatesubmodules.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Submodule Updates

on: workflow_dispatch
jobs:
build:
name: Submodule update
runs-on: ubuntu-latest
env:
PARENT_REPOSITORY: 'openmainframeproject/software-discovery-tool'
CHECKOUT_BRANCH: 'auto-submodules'
PR_AGAINST_BRANCH: 'master'
OWNER: 'openmainframeproject'

steps:
- name: Checkout Code
uses: actions/checkout@v2

- name: run action
id: run_action
uses: releasehub-com/github-action-create-pr-parent-submodule@v1
with:
github_token: ${{ secrets.SDT_PAT_PUSH }}
parent_repository: ${{ env.PARENT_REPOSITORY }}
checkout_branch: ${{ env.CHECKOUT_BRANCH}}
pr_against_branch: ${{ env.PR_AGAINST_BRANCH }}
owner: ${{ env.OWNER }}

0 comments on commit 04fca24

Please sign in to comment.