-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
417f862
commit 1313635
Showing
4 changed files
with
56 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,5 @@ | ||
### Description | ||
Please add PR description here, add screenshots if needed | ||
|
||
## Clickup | ||
Please add link here |
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,20 @@ | ||
|
||
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 |
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,21 @@ | ||
name: Pull Request Labeling | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
size: | ||
runs-on: ubuntu-latest | ||
name: Label the PR size | ||
steps: | ||
- uses: "pascalgn/[email protected]" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
sizes: > | ||
{ | ||
"0": "XS", | ||
"20": "S", | ||
"50": "M", | ||
"250": "L", | ||
"800": "XL" | ||
} |