Skip to content

Commit

Permalink
3173: Add workflow action to block bad words in commits
Browse files Browse the repository at this point in the history
  • Loading branch information
kduske committed Jul 17, 2020
1 parent 8c80c97 commit f5211d4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/clean-commit.yml
@@ -0,0 +1,13 @@
name: Pull request
# This workflow is triggered on pull requests for the repository.
on: [pull_request]

jobs:
clean_commit_job:
name: Check commits for bad words ('temp', 'tmp', 'fixup', 'squash', 'wip', 'review fix', 'bug fix')
runs-on: ubuntu-latest
steps:
- name: Clean commit step
uses: ad1992/clean-commit-action@v0.2.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f5211d4

Please sign in to comment.