Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,10 @@ const periodMultiplier = {
- **SonarCloud**: CI/CD quality gates (see badges in README)

## Key Files Reference
- `package.json`: Build/test scripts and dependencies
- `nuxt.config.ts`: Tailwind, SEO meta, static generation config
- `package.json`: Build/test/lint scripts and dependencies
- `nuxt.config.ts`: Tailwind, SEO meta, static generation and lint config
- `eslint.config.mjs`: ESLint flat config entry point (auto-generated)
- `.github/workflows/pr-title.yml`: PR title conventional commit validation
- `vitest.config.ts`: Test runner configuration
- `tsconfig.json`: TypeScript strict mode (recommended)
- `app/assets/indicadores.json`: Runtime market data (do not commit hardcoded values)
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 'Conventional PR Title'
on:
pull_request:
types: [opened, edited, synchronize, reopened]
concurrency:
group: pr-title-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
check-title:
permissions:
pull-requests: read
runs-on: ubuntu-latest
steps:
- name: Check pull request title for Conventional Commit
uses: amannn/action-semantic-pull-request@v6
with:
types: |
feat
fix
docs
style
refactor
perf
test
build
ci
chore
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}