Skip to content

Commit

Permalink
Merge pull request #922 from pagopa/fixing-action-common
Browse files Browse the repository at this point in the history
Fixing action common
  • Loading branch information
FedericoRuzzier committed Oct 6, 2023
2 parents 9c0f74c + 74299b4 commit 25bb06d
Showing 1 changed file with 6 additions and 4 deletions.
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: 'github-bot@pagopa.it'
Expand Down

0 comments on commit 25bb06d

Please sign in to comment.