chore: add oracle dialect by default to sql audit store test run #126
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: Validate Conventional Commits | |
| on: | |
| push: | |
| branches: [develop, master] | |
| pull_request: | |
| branches: [develop, master] | |
| jobs: | |
| commitlint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Fetch full git history | |
| run: git fetch --prune --unshallow || true | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install commitlint | |
| run: npm install --save-dev @commitlint/config-conventional @commitlint/cli | |
| - name: Create commitlint config | |
| run: | | |
| echo "module.exports = {" > commitlint.config.js | |
| echo " extends: ['@commitlint/config-conventional']," >> commitlint.config.js | |
| echo " rules: {" >> commitlint.config.js | |
| echo " 'subject-case': [2, 'never', []]" >> commitlint.config.js | |
| echo " }" >> commitlint.config.js | |
| echo "};" >> commitlint.config.js | |
| - name: Lint last 20 commits | |
| run: npx commitlint --from=$GITHUB_SHA~1 |