From e92f216218b600c1370bd6b9803508745e71ffcd Mon Sep 17 00:00:00 2001 From: Rinne Date: Sat, 29 Apr 2023 05:00:32 +0800 Subject: [PATCH] Create semantic.yml --- .github/workflows/semantic.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/semantic.yml diff --git a/.github/workflows/semantic.yml b/.github/workflows/semantic.yml new file mode 100644 index 00000000..ffd5c125 --- /dev/null +++ b/.github/workflows/semantic.yml @@ -0,0 +1,19 @@ +name: Semantic + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + semantic-pull-request: + name: Semantic check + runs-on: windows-latest + steps: + - name: semantic-pull-request + uses: amannn/action-semantic-pull-request@v4 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + validateSingleCommit: true