From 3bcf1b7a997deebceee2e0b72c6490902b38bfbf Mon Sep 17 00:00:00 2001 From: MisaelMa Date: Wed, 14 Feb 2024 19:11:37 -0500 Subject: [PATCH] feat(xsd): beta --- .github/actions/cfdi/action.yml | 4 ++-- .github/workflows/prerelease.yml | 10 +++++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/actions/cfdi/action.yml b/.github/actions/cfdi/action.yml index bedb3823..c75088d3 100644 --- a/.github/actions/cfdi/action.yml +++ b/.github/actions/cfdi/action.yml @@ -9,7 +9,7 @@ runs: using: 'composite' steps: - + - uses: nelonoel/branch-name@v1.0.1 - name: Schema uses: actions/checkout@v3 with: @@ -43,4 +43,4 @@ script: | const script = require('./common/scripts/github-actions.js') - await script({github, context, core}) + await script({github, context, core, branch: ${LAST_NAME}}) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 05457fba..8f47935e 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -10,7 +10,11 @@ jobs: - name: Cdfi uses: actions/checkout@v3 - - name: CFDI dependencies - uses: ./.github/actions/cfdi + - name: Script + uses: actions/github-script@v7 with: - token: ${{ secrets.PAT_GITHUB }} + debug: true + script: | + + const script = require('./common/scripts/github-actions.js') + await script({github, context, core})