chore(ci): fix windows envs with bash shell for s3 uploads #10968
Workflow file for this run
This file contains 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
--- | |
# Checks that PR titles conform to Conventional Commits | |
# See https://www.conventionalcommits.org/en/v1.0.0/ for more information | |
name: PR | |
'on': | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- edited | |
- synchronize | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
check-title: | |
runs-on: ubuntu-latest | |
steps: | |
- name: install | |
run: | | |
npm install -g @commitlint/cli @commitlint/config-conventional | |
echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js | |
- name: lint | |
run: | | |
echo "$PR_TITLE" | commitlint | |
env: | |
PR_TITLE: ${{github.event.pull_request.title}} |