summaryrefslogtreecommitdiffstats
path: root/.github/workflows/pr.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/pr.yml')
-rw-r--r--.github/workflows/pr.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
new file mode 100644
index 0000000..60ca1db
--- /dev/null
+++ b/.github/workflows/pr.yml
@@ -0,0 +1,19 @@
+name: Commisery
+on:
+ pull_request:
+ types: [edited, opened, synchronize, reopened]
+
+jobs:
+ commit-message:
+ name: Conventional Commit Message Checker (Commisery)
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check-out the repo under $GITHUB_WORKSPACE
+ uses: actions/checkout@v3
+
+ - name: Run Commisery
+ uses: dracutdevs/commisery-action@master
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ pull_request: ${{ github.event.number }}
+