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