Skip to content

Commit

Permalink
chore(ci): Add conventional commit checks (#419)
Browse files Browse the repository at this point in the history
so long gitmoji 😢
  • Loading branch information
dmihalcik-virtru authored Jan 30, 2025
1 parent 7925669 commit dfb1a6f
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,42 @@ on:
types:
- created
jobs:
ccc:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./lib
timeout-minutes: 5
steps:
- name: Conventional Commits Check
if: contains(fromJSON('["pull_request", "pull_request_target"]'), github.event_name)
id: conventional-commits
uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Types include:
# - fix: fixes
# - feat: features and enhancements
# - chore: non-feature or enhancement (i.e. docs, ci, linting, automated, etc)
types: |
fix
feat
chore
revert
# Scopes include:
# - sdk: changes to @opentdf/sdk (was lib)
# - cli: changes to @opentdf/ctl
# - ci: anything related to ci
# - tests: test only changes
# - docs: anything related solely to documentation
scopes: |
ci
cli
docs
sdk
tests
lib:
runs-on: ubuntu-latest
defaults:
Expand Down

0 comments on commit dfb1a6f

Please sign in to comment.