Skip to content

Commit

Permalink
ci: fix release-drafter and pr-semantic-check (#103)
Browse files Browse the repository at this point in the history
* ci: fix config for release-drafter gh action

* ci: fix pr-lint type list

* ci: remove gh action pr-lint

It will be added as a github app instead

* ci: add config for semantic PR check
  • Loading branch information
deepcharles authored Jan 7, 2021
1 parent b2e7c62 commit 306efb5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 40 deletions.
18 changes: 18 additions & 0 deletions .github/semantic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Always validate the PR title, and ignore the commits
titleOnly: true

# By default types specified in commitizen/conventional-commit-types is used.
# See: https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json
# You can override the valid types
types:
- feat
- fix
- docs
- style
- refactor
- perf
- test
- build
- ci
- chore
- revert
38 changes: 0 additions & 38 deletions .github/workflows/lint-pr.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
with:
# with:
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
# config-name: my-config.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 306efb5

Please sign in to comment.