fix(publish): desbloquear publicacion de paquetes pendientes del bump #407
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Semantic Checker | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - edited | |
| - synchronize | |
| - reopened | |
| - labeled | |
| - unlabeled | |
| jobs: | |
| check-label: | |
| name: Check label | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Platform label | |
| uses: actions/github-script@v7 | |
| with: | |
| script: | | |
| const validLabels = [ | |
| 'config','core','catalogs','csd','csf','curp','pdf','rfc','utils', | |
| 'xml','xsd','complementos','openssl','saxon','schema','transform', | |
| 'types','elements','2json','expresiones','publish','sat','estado', | |
| 'descarga','validador','cleaner','auth','designs','cancelacion', | |
| 'recursos','scraper','opinion','contabilidad','captcha','retenciones', | |
| 'pacs','banxico','diot' | |
| ]; | |
| const labels = context.payload.pull_request.labels.map(l => l.name); | |
| const hasValid = labels.some(l => validLabels.includes(l)); | |
| if (!hasValid) { | |
| core.setFailed(`PR must have at least one label: ${validLabels.join(', ')}`); | |
| } | |
| check-title: | |
| name: Check PR title | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: amannn/action-semantic-pull-request@v4 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| wip: true | |
| validateSingleCommit: true | |
| scopes: | | |
| config | |
| core | |
| catalogs | |
| csd | |
| csf | |
| curp | |
| rfc | |
| utils | |
| xml | |
| xsd | |
| complementos | |
| only-complementos | |
| openssl | |
| saxon | |
| publish | |
| schema | |
| transform | |
| types | |
| elements | |
| expresiones | |
| 2json | |
| sat | |
| estado | |
| descarga | |
| validador | |
| cleaner | |
| auth | |
| designs | |
| cancelacion | |
| recursos | |
| scraper | |
| opinion | |
| contabilidad | |
| captcha | |
| retenciones | |
| pacs | |
| banxico | |
| diot |