forked from s2kdesign-com/Jenkins-Shared-Pipeline-Libraries
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from jkhy/hotfix/PRcreate
Hotfix/prcreate Add github action for creating PRs for all openapi projects
- Loading branch information
Showing
1 changed file
with
136 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
name: Create OpenAPI PRs on release | ||
|
||
on: | ||
# push: | ||
# branches: | ||
# - main | ||
# - 'hotfix/PRcreate' | ||
# paths: | ||
# - 'resources/**' | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
create-PRs: | ||
name: Create PRs for OpenAPI | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: vsg_openapi_gateway | ||
uses: emiliopedrollo/[email protected] | ||
with: | ||
# A token that can be used to authenticate within GitHub with content write access to your repo | ||
token: ${{ secrets.PRsecret }} | ||
# The title of the Pull Request | ||
title: Merge main into support | ||
head: main | ||
# The Pull Request base branch | ||
base: support | ||
# The owner and repository | ||
repository: jkhy/vsg_openapi_gateway | ||
# A comma or newline separated list of labels | ||
reviewers: GYordanovVSG, ISakalievVSG | ||
|
||
- name: vsg_openapi_api_application | ||
uses: emiliopedrollo/[email protected] | ||
with: | ||
# A token that can be used to authenticate within GitHub with content write access to your repo | ||
token: ${{ secrets.PRsecret }} | ||
# The title of the Pull Request | ||
title: Merge main into support | ||
head: main | ||
# The Pull Request base branch | ||
base: support | ||
# The owner and repository | ||
repository: jkhy/vsg_openapi_api_application | ||
# A comma or newline separated list of labels | ||
reviewers: GYordanovVSG, ISakalievVSG | ||
|
||
- name: vsg_openapi_api_settings | ||
uses: emiliopedrollo/[email protected] | ||
with: | ||
# A token that can be used to authenticate within GitHub with content write access to your repo | ||
token: ${{ secrets.PRsecret }} | ||
# The title of the Pull Request | ||
title: Merge main into support | ||
head: main | ||
# The Pull Request base branch | ||
base: support | ||
# The owner and repository | ||
repository: jkhy/vsg_openapi_api_settings | ||
reviewers: GYordanovVSG, ISakalievVSG | ||
|
||
- name: vsg_openapi_api_nexus | ||
uses: emiliopedrollo/[email protected] | ||
with: | ||
# A token that can be used to authenticate within GitHub with content write access to your repo | ||
token: ${{ secrets.PRsecret }} | ||
# The title of the Pull Request | ||
title: Merge main into support | ||
head: main | ||
# The Pull Request base branch | ||
base: support | ||
# The owner and repository | ||
repository: jkhy/vsg_openapi_api_nexus | ||
# A comma or newline separated list of labels | ||
reviewers: GYordanovVSG, ISakalievVSG | ||
|
||
- name: vsg_openapi_api_lead | ||
uses: emiliopedrollo/[email protected] | ||
with: | ||
# A token that can be used to authenticate within GitHub with content write access to your repo | ||
token: ${{ secrets.PRsecret }} | ||
# The title of the Pull Request | ||
title: Merge main into support | ||
head: main | ||
# The Pull Request base branch | ||
base: support | ||
# The owner and repository | ||
repository: jkhy/vsg_openapi_api_lead | ||
# A comma or newline separated list of labels | ||
reviewers: GYordanovVSG, ISakalievVSG | ||
|
||
- name: vsg_openapi_api_documents | ||
uses: emiliopedrollo/[email protected] | ||
with: | ||
# A token that can be used to authenticate within GitHub with content write access to your repo | ||
token: ${{ secrets.PRsecret }} | ||
# The title of the Pull Request | ||
title: Merge main into support | ||
head: main | ||
# The Pull Request base branch | ||
base: support | ||
# The owner and repository | ||
repository: jkhy/vsg_openapi_api_documents | ||
# A comma or newline separated list of labels | ||
reviewers: GYordanovVSG, ISakalievVSG | ||
|
||
- name: vsg_openapi_api_decision | ||
uses: emiliopedrollo/[email protected] | ||
with: | ||
# A token that can be used to authenticate within GitHub with content write access to your repo | ||
token: ${{ secrets.PRsecret }} | ||
# The title of the Pull Request | ||
title: Merge main into support | ||
head: main | ||
# The Pull Request base branch | ||
base: support | ||
# The owner and repository | ||
repository: jkhy/vsg_openapi_api_decision | ||
# A comma or newline separated list of labels | ||
reviewers: GYordanovVSG, ISakalievVSG | ||
|
||
- name: vsg_openapi_api_composer | ||
uses: emiliopedrollo/[email protected] | ||
with: | ||
# A token that can be used to authenticate within GitHub with content write access to your repo | ||
token: ${{ secrets.PRsecret }} | ||
# The title of the Pull Request | ||
title: Merge main into support | ||
head: main | ||
# The Pull Request base branch | ||
base: support | ||
# The owner and repository | ||
repository: jkhy/vsg_openapi_api_composer | ||
# A comma or newline separated list of labels | ||
reviewers: GYordanovVSG, ISakalievVSG |