mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-17 17:21:04 +00:00
ci: improve pr quality workflow
- change labels to quality - add a failure label - make sure service json files are not changed
This commit is contained in:
9
.github/workflows/pr-quality.yaml
vendored
9
.github/workflows/pr-quality.yaml
vendored
@@ -56,7 +56,10 @@ jobs:
|
|||||||
SECURITY.md
|
SECURITY.md
|
||||||
LICENSE
|
LICENSE
|
||||||
CODE_OF_CONDUCT.md
|
CODE_OF_CONDUCT.md
|
||||||
|
templates/service-templates-latest.json
|
||||||
|
templates/service-templates.json
|
||||||
require-final-newline: true
|
require-final-newline: true
|
||||||
|
|
||||||
# User Health Checks
|
# User Health Checks
|
||||||
min-repo-merged-prs: 0
|
min-repo-merged-prs: 0
|
||||||
min-repo-merge-ratio: 0
|
min-repo-merge-ratio: 0
|
||||||
@@ -73,7 +76,7 @@ jobs:
|
|||||||
renovate[bot]
|
renovate[bot]
|
||||||
github-actions[bot]
|
github-actions[bot]
|
||||||
exempt-draft-prs: false
|
exempt-draft-prs: false
|
||||||
exempt-label: "status/exempt"
|
exempt-label: "quality/exempt"
|
||||||
exempt-pr-label: ""
|
exempt-pr-label: ""
|
||||||
exempt-milestones: ""
|
exempt-milestones: ""
|
||||||
exempt-pr-milestones: ""
|
exempt-pr-milestones: ""
|
||||||
@@ -81,7 +84,7 @@ jobs:
|
|||||||
exempt-all-pr-milestones: false
|
exempt-all-pr-milestones: false
|
||||||
|
|
||||||
# PR Success Actions
|
# PR Success Actions
|
||||||
success-add-pr-labels: "status/verified"
|
success-add-pr-labels: "quality/verified"
|
||||||
|
|
||||||
# PR Failure Actions
|
# PR Failure Actions
|
||||||
close-pr: true
|
close-pr: true
|
||||||
@@ -90,4 +93,4 @@ jobs:
|
|||||||
failure-pr-message: "This PR did not pass quality checks so it will be closed. If you believe this is a mistake please let us know."
|
failure-pr-message: "This PR did not pass quality checks so it will be closed. If you believe this is a mistake please let us know."
|
||||||
failure-remove-pr-labels: ""
|
failure-remove-pr-labels: ""
|
||||||
failure-remove-all-pr-labels: true
|
failure-remove-all-pr-labels: true
|
||||||
failure-add-pr-labels: ""
|
failure-add-pr-labels: "quality/rejected"
|
||||||
|
|||||||
Reference in New Issue
Block a user