Skip to content

Commit

Permalink
Merge pull request #739 from sbrunner/fix-renovate-label
Browse files Browse the repository at this point in the history
Add spell on the pull request title
  • Loading branch information
sbrunner authored Aug 8, 2022
2 parents 70bc5e3 + f953582 commit e570d86
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/pr-check.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Required label
name: Pull request check

on:
pull_request:
Expand All @@ -10,13 +10,22 @@ on:

jobs:
build:
name: Required label
name: Pull request check
runs-on: ubuntu-20.04
timeout-minutes: 5

steps:
- uses: actions/checkout@v3
- run: echo "${HOME}/.local/bin" >> ${GITHUB_PATH}

- uses: yashhy/pr-label-check-and-comment-action@master
with:
required_labels: enhancement, bug, refactor, documentation, chore, dependencies
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: github.actor != 'renovate[bot]'

# Do spell on pull request title
- run: python3 -m pip install --user codespell
- run: jq -r '.pull_request.title' ${GITHUB_EVENT_PATH} > pull-request-title
# --ignore-words=spell-ignore-words.txt
- run: codespell pull-request-title

0 comments on commit e570d86

Please # to comment.