From 671df7971f412d0d018824aed8454deadc0c09fb Mon Sep 17 00:00:00 2001 From: Josh Gummersall Date: Thu, 8 Apr 2021 11:29:11 -0700 Subject: [PATCH] ci: pr style linting This action will validate that PRs include a linked issue. --- .github/workflows/pr-style.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/pr-style.yml diff --git a/.github/workflows/pr-style.yml b/.github/workflows/pr-style.yml new file mode 100644 index 0000000000..51dbf531a5 --- /dev/null +++ b/.github/workflows/pr-style.yml @@ -0,0 +1,18 @@ +name: pr-style.yml + +on: + pull_request: + types: [opened, edited, synchronize] + +jobs: + prStyle: + name: pr-style + runs-on: ubuntu-latest + + steps: + - uses: joshgummersall/pr-style@main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + require_issue: "true" + skip_authors: "dependabot"