Skip to content

Commit

Permalink
ci: check pr title
Browse files Browse the repository at this point in the history
  • Loading branch information
subzero10 committed Oct 27, 2023
1 parent f1fc709 commit 479e4a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/check-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
with:
node-version: '18.x'

- name: Setup
run: |
npm install -g @commitlint/cli @commitlint/config-conventional
echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js
- name: Verify PR title is in the correct format
run: |
echo "${{ github.event.pull_request.title }}" | npx commitlint -V
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true

- name: Build and test regular ruby
Expand Down

0 comments on commit 479e4a9

Please sign in to comment.