Skip to content

Commit

Permalink
adding common to action
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoRuzzier committed Oct 5, 2023
1 parent 9c0f74c commit 6439820
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 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'
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

0 comments on commit 6439820

Please sign in to comment.