aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/semantic-pull-request.yml
diff options
context:
space:
mode:
authorShinigami <[email protected]>2022-04-19 19:41:21 +0200
committerGitHub <[email protected]>2022-04-19 19:41:21 +0200
commitd94159f155cd58ba8ebfdbf0d2dd642a418175ab (patch)
tree54695005417a0daee8b8d371eeb7a29e259fe172 /.github/workflows/semantic-pull-request.yml
parent360bec7c7f3269049eb748523f2d271b6ed36d75 (diff)
downloadfaker-d94159f155cd58ba8ebfdbf0d2dd642a418175ab.tar.xz
faker-d94159f155cd58ba8ebfdbf0d2dd642a418175ab.zip
ci: use gh-action for validating PR title (#845)
Diffstat (limited to '.github/workflows/semantic-pull-request.yml')
-rw-r--r--.github/workflows/semantic-pull-request.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.yml
new file mode 100644
index 00000000..df554b38
--- /dev/null
+++ b/.github/workflows/semantic-pull-request.yml
@@ -0,0 +1,18 @@
+name: Semantic Pull Request
+
+on:
+ pull_request_target:
+ types:
+ - opened
+ - edited
+ - synchronize
+
+jobs:
+ main:
+ runs-on: ubuntu-latest
+ name: Semantic Pull Request
+ steps:
+ - name: Validate PR title
+ uses: amannn/action-semantic-pull-request@v4
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}