-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add GitHub PR Checks Workflow (#389)
- Loading branch information
1 parent
c948e73
commit 8327817
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
pr_checks: | ||
title: | ||
- name: 'prefix_check' | ||
regex: '^(?i)(fix|feat|test|chore|refactor|build):' | ||
message_if_not_matching: 'PR title must start with "fix:", "feat:", "chore:", "refactor", or "test:" (case-insensitive)' | ||
|
||
description: | ||
- name: 'clickup_check' | ||
regex: '(?i)app.clickup.com' | ||
message_if_not_matching: 'PR description must contain a link to a ClickUp (case-insensitive)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Strong PR Checks | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, edited] | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: read | ||
|
||
jobs: | ||
pr_checks: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run strong checks | ||
uses: fylein/fyle-pr-action@v1 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
config-file: .github/pr_checks_config.yml |