Skip to content

Commit 3b462b6

Browse files
author
rchxx
committed
Update workflow
1 parent 0bb350b commit 3b462b6

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

.github/workflows/make-prs-for-client-repos.yml

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,26 @@ on:
2323
- stable
2424

2525
jobs:
26-
create-pr-for-python-client:
26+
create-prs-for-repositories:
2727
runs-on: ubuntu-latest
2828
steps:
29-
- name: Create PR from source to target branch
30-
run: |
31-
gh pr create --base ${{ github.event.inputs.target }} --head ${{ github.event.inputs.source }} --title '[GitHub Actions] Merge ${{ github.event.inputs.source }} -> ${{ github.event.inputs.target }}' --label OpenAPI --body 'Autogenerated Pull Request triggered by Github Actions in OpenAPI repository' --repo regulaforensics/DocumentReader-web-python-client
32-
gh pr create --base ${{ github.event.inputs.target }} --head ${{ github.event.inputs.source }} --title '[GitHub Actions] Merge ${{ github.event.inputs.source }} -> ${{ github.event.inputs.target }}' --label OpenAPI --body 'Autogenerated Pull Request triggered by Github Actions in OpenAPI repository' --repo regulaforensics/DocumentReader-web-js-client
33-
gh pr create --base ${{ github.event.inputs.target }} --head ${{ github.event.inputs.source }} --title '[GitHub Actions] Merge ${{ github.event.inputs.source }} -> ${{ github.event.inputs.target }}' --label OpenAPI --body 'Autogenerated Pull Request triggered by Github Actions in OpenAPI repository' --repo regulaforensics/DocumentReader-web-java-client
34-
gh pr create --base ${{ github.event.inputs.target }} --head ${{ github.event.inputs.source }} --title '[GitHub Actions] Merge ${{ github.event.inputs.source }} -> ${{ github.event.inputs.target }}' --label OpenAPI --body 'Autogenerated Pull Request triggered by Github Actions in OpenAPI repository' --repo regulaforensics/DocumentReader-web-csharp-client
35-
gh pr create --base ${{ github.event.inputs.target }} --head ${{ github.event.inputs.source }} --title '[GitHub Actions] Merge ${{ github.event.inputs.source }} -> ${{ github.event.inputs.target }}' --label OpenAPI --body 'Autogenerated Pull Request triggered by Github Actions in OpenAPI repository' --repo regulaforensics/DocumentReader-web-openapi
29+
- name: Create PR for Python WebClient Repo
30+
run: gh pr create --base ${{ inputs.target_branch }} --head ${{ inputs.source_branch }} --title '[GitHub Actions] Merge ${{ inputs.source_branch }} -> ${{ inputs.target_branch }}' --label OpenAPI --body 'Autogenerated Pull Request triggered by Github Actions in OpenAPI repository' --repo regulaforensics/DocumentReader-web-python-client
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}
33+
- name: Create PR for Java WebClient Repo
34+
run: gh pr create --base ${{ inputs.target_branch }} --head ${{ inputs.source_branch }} --title '[GitHub Actions] Merge ${{ inputs.source_branch }} -> ${{ inputs.target_branch }}' --label OpenAPI --body 'Autogenerated Pull Request triggered by Github Actions in OpenAPI repository' --repo regulaforensics/DocumentReader-web-java-client
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}
37+
- name: Create PR for JS WebClient Repo
38+
run: gh pr create --base ${{ inputs.target_branch }} --head ${{ inputs.source_branch }} --title '[GitHub Actions] Merge ${{ inputs.source_branch }} -> ${{ inputs.target_branch }}' --label OpenAPI --body 'Autogenerated Pull Request triggered by Github Actions in OpenAPI repository' --repo regulaforensics/DocumentReader-web-js-client
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}
41+
- name: Create PR for CSharp WebClient Repo
42+
run: gh pr create --base ${{ inputs.target_branch }} --head ${{ inputs.source_branch }} --title '[GitHub Actions] Merge ${{ inputs.source_branch }} -> ${{ inputs.target_branch }}' --label OpenAPI --body 'Autogenerated Pull Request triggered by Github Actions in OpenAPI repository' --repo regulaforensics/DocumentReader-web-csharp-client
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}
45+
- name: Create PR for OpenAPI Repo
46+
run: gh pr create --base ${{ inputs.target_branch }} --head ${{ inputs.source_branch }} --title '[GitHub Actions] Merge ${{ inputs.source_branch }} -> ${{ inputs.target_branch }}' --label OpenAPI --body 'Autogenerated Pull Request triggered by Github Actions in OpenAPI repository' --repo regulaforensics/DocumentReader-web-openapi
3647
env:
3748
GITHUB_TOKEN: ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}

0 commit comments

Comments
 (0)