-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Oliver Bähler <[email protected]>
- Loading branch information
1 parent
ed854f9
commit 747af46
Showing
3 changed files
with
55 additions
and
14 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 |
---|---|---|
@@ -1,18 +1,7 @@ | ||
<!-- | ||
# General contribution criteria | ||
Read the contribution guidelines before creating a pull request. | ||
Thanks for spending some time for improving and fixing Capsule! | ||
We're still working on the outline of the contribution guidelines but we're | ||
following ourselves these points: | ||
- reference a previously opened issue: https://docs.github.com/en/github/writing-on-github/autolinked-references-and-urls#issues-and-pull-requests | ||
- including a sentence or two in the commit description for the | ||
changelog/release notes | ||
- splitting changes into several and documented small commits | ||
- limit the git subject to 50 characters and write as the continuation of the | ||
sentence "If applied, this commit will ..." | ||
- explain what and why in the body, if more than a trivial change, wrapping at | ||
72 characters | ||
https://github.com/projectcapsule/capsule/blob/main/CONTRIBUTING.md | ||
Thanks for spending some time for improving and fixing Capsule! | ||
--> |
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,48 @@ | ||
name: "Check Pull Request" | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
|
||
permissions: | ||
pull-requests: read | ||
|
||
jobs: | ||
main: | ||
name: Validate PR title | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: amannn/action-semantic-pull-request@47b15d52c5c30e94a17ec87eb8dd51ff5221fed9 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
types: | | ||
chore | ||
ci | ||
docs | ||
feat | ||
fix | ||
test | ||
sec | ||
requireScope: false | ||
scopes: | | ||
all | ||
chart | ||
operator | ||
manifest | ||
website | ||
e2e | ||
release | ||
repo | ||
deps | ||
make | ||
wip: true | ||
# If the PR only contains a single commit, the action will validate that | ||
# it matches the configured pattern. | ||
validateSingleCommit: true | ||
# Related to `validateSingleCommit` you can opt-in to validate that the PR | ||
# title matches a single commit to avoid confusion. | ||
validateSingleCommitMatchesPrTitle: true |
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