diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index f2e652b..a8f5ade 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -20,14 +20,11 @@ concurrency: on: pull_request: types: [opened, synchronize, reopened] - push: - branches: - - release/** workflow_dispatch: jobs: test-and-lint: - name: Preview - Test & Lint + name: CI - Test & Lint # Este job SEMPRE roda (para satisfazer o check obrigatório) # O 'dummy pass' acontece DENTRO do 'reusable-lint' uses: ./.github/workflows/reusable-test-and-lint.yml @@ -35,7 +32,7 @@ jobs: node-version: "22.x" deploy-preview: - name: Preview - Deploy to Vercel + name: CI - Deploy to Vercel needs: test-and-lint # ❌ REMOVIDO: O 'if: needs.test-and-lint.outputs.code-changed == 'true'' # Este job TEM que rodar sempre para o status check @@ -51,6 +48,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} validate-release-branch: + name: Validate Release Branch for Main # ✅ SEGUINDO O TUTORIAL: 'if:' sem aspas if: github.event_name == 'pull_request' && github.base_ref == 'main' runs-on: ubuntu-latest @@ -95,7 +93,7 @@ jobs: | Recurso | Link | |---|---| - | **🔗 URL de Preview** | https://www.dpreview.com/(${{ needs.deploy-preview.outputs.deployment_url }}) | + | **🔗 URL de Preview** | [URL de Preview](${{ needs.deploy-preview.outputs.deployment_url }}) | | **📜 Logs do Deploy** | [Ver logs da Action](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) | --- diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index f9df569..f3a958e 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -16,7 +16,7 @@ on: jobs: test-and-lint: - name: Production - Test & Lint + name: CI - Test & Lint # Este job SEMPRE roda para satisfazer o Required Check # O filtro de paths está DENTRO do reusable-test-and-lint uses: ./.github/workflows/reusable-test-and-lint.yml @@ -24,7 +24,7 @@ jobs: node-version: "22.x" deploy-production: - name: Production - Deploy to Vercel + name: CI - Deploy to Vercel needs: test-and-lint # ✅ CORREÇÃO: Aplicando o tutorial # 'if:' sem aspas externas diff --git a/CHANGELOG.md b/CHANGELOG.md index a4c3741..40c789c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +## [1.3.1](https://github.com/JaegerCaiser/mrdeveloper/compare/v1.3.0...v1.3.1) (2025-11-07) + + +### Bug Fixes + +* add missing name field to validate-release-branch job ([90cf1a3](https://github.com/JaegerCaiser/mrdeveloper/commit/90cf1a3ced15beb3c2e40a0f67079daccd0eac44)) +* correct preview URL link in PR comment ([b983a4b](https://github.com/JaegerCaiser/mrdeveloper/commit/b983a4b72400e381a11111695a7672dd697a4221)) +* rename workflow jobs to prevent status check conflicts ([7f1170e](https://github.com/JaegerCaiser/mrdeveloper/commit/7f1170ed09ce5c361041651cbc57099601d38abb)) +* rename workflow jobs to prevent status check conflicts ([b723c32](https://github.com/JaegerCaiser/mrdeveloper/commit/b723c320ab002923fc62e731e0086809c2620be7)) +* restore proper preview URL link format in PR comment ([5a63117](https://github.com/JaegerCaiser/mrdeveloper/commit/5a6311781003512c3fa14b9fb786c897cc0eb6ae)) + +## [1.3.1-beta.1](https://github.com/JaegerCaiser/mrdeveloper/compare/v1.3.0...v1.3.1-beta.1) (2025-11-07) + + +### Bug Fixes + +* correct preview URL link in PR comment ([b983a4b](https://github.com/JaegerCaiser/mrdeveloper/commit/b983a4b72400e381a11111695a7672dd697a4221)) +* rename workflow jobs to prevent status check conflicts ([7f1170e](https://github.com/JaegerCaiser/mrdeveloper/commit/7f1170ed09ce5c361041651cbc57099601d38abb)) +* rename workflow jobs to prevent status check conflicts ([b723c32](https://github.com/JaegerCaiser/mrdeveloper/commit/b723c320ab002923fc62e731e0086809c2620be7)) + # [1.3.0](https://github.com/JaegerCaiser/mrdeveloper/compare/v1.2.4...v1.3.0) (2025-11-07) diff --git a/package.json b/package.json index 29fcb78..12a3836 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mrdeveloper", - "version": "1.3.0", + "version": "1.3.1", "type": "module", "packageManager": "pnpm@10.20.0", "homepage": "https://www.mrdeveloper.com.br/",