From c2d03cf6dbf24e1f06f9e3f4448b76718a7c44e4 Mon Sep 17 00:00:00 2001 From: Steven Date: Wed, 25 Jan 2023 11:47:19 -0500 Subject: [PATCH] fix: add missing pr title lint action (#1032) This workflow was never committed in PR #1015 so I fixed the `.gitignore` too --- .github/workflows/pr.yml | 14 ++++++++++++++ .gitignore | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 .github/workflows/pr.yml diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 00000000..cb33af50 --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,14 @@ +name: PR +on: + pull_request: + types: [opened, edited, synchronize] + pull_request_target: + types: [opened, edited, synchronize] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@0b14f54ac155d88e12522156e52cb6e397745cfd + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index 289d85fd..9cdb7758 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,8 @@ dist/**/*.js !yarn.lock !.circleci !.github +!.github/ +!.github/** !release.config.js !.*ignore !readme.md