Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing action common #922

Merged
merged 2 commits into from
Oct 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/update_gpd_payments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,18 @@ jobs:
# prepare XSD template for GPD repo
- name: Modify file
run: |
mkdir -p "${GITHUB_WORKSPACE}/xsd"
cp ${GITHUB_WORKSPACE}/wsdl/xsd/paForNode.xsd ${GITHUB_WORKSPACE}/xsd/paForNode.xsd
mkdir -p "${GITHUB_WORKSPACE}/resources/xsd"
mkdir -p "${GITHUB_WORKSPACE}/resources/xsd-common"
cp ${GITHUB_WORKSPACE}/wsdl/xsd/paForNode.xsd ${GITHUB_WORKSPACE}/resources/xsd/paForNode.xsd
cp ${GITHUB_WORKSPACE}/xsd-common/sac-common-types-1.0.xsd ${GITHUB_WORKSPACE}/resources/xsd-common/sac-common-types-1.0.xsd
- name: Create pull request
uses: jacopocarlini/action-pull-request-another-repo@main
env:
API_TOKEN_GITHUB: ${{ secrets.BOT_TOKEN_GITHUB }}
with:
source_folder: 'xsd'
source_folder: 'resources'
destination_repo: 'pagopa/pagopa-gpd-payments'
destination_folder: 'src/main/resources/xsd'
destination_folder: 'src/main/resources'
destination_base_branch: 'main'
destination_head_branch: 'XSD-update'
user_email: '[email protected]'
Expand Down
Loading