Skip to content

Commit

Permalink
Merge pull request #3 from jkhy/hotfix/PRcreate
Browse files Browse the repository at this point in the history
Hotfix/prcreate Add github action for creating PRs for all openapi projects
  • Loading branch information
GYordanovVSG authored May 16, 2024
2 parents a4be312 + 071f2c6 commit f2ffef0
Showing 1 changed file with 136 additions and 0 deletions.
136 changes: 136 additions & 0 deletions .github/workflows/create_PR_on_release.yml
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

0 comments on commit f2ffef0

Please sign in to comment.