Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

Commit 4dd6f17

Browse files
elibarzilayjablko
andcommitted
Rename Config Edit -> Check Config and show it for new packages
The information of having this label is useful for new packages too, since it's added when the new config files don't get auto-blessed by the file checkers. OTOH, `Config Edit` is a bad name, since it's only used for the configs that are not found to be OK. So something like `Suspicious Config` would be better --- but it sounds like a potentially malicious content, so settle for `Check Config`. Supersedes: #273. Co-authored-by: Jack Bates <[email protected]>
1 parent a761773 commit 4dd6f17

38 files changed

+134
-36
lines changed

src/_tests/cachedQueries.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
},
5656
{
5757
"id": "MDU6TGFiZWwyMTU0ODE2NTQ5",
58-
"name": "Config Edit",
58+
"name": "Check Config",
5959
"__typename": "Label"
6060
},
6161
{

src/_tests/fixtures/38979/_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"__typename": "Label"
2727
},
2828
{
29-
"name": "Config Edit",
29+
"name": "Check Config",
3030
"__typename": "Label"
3131
}
3232
],

src/_tests/fixtures/38979/result.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"labels": [
55
"Critical package",
66
"Other Approved",
7-
"Config Edit",
7+
"Check Config",
88
"Unreviewed"
99
],
1010
"responseComments": [

src/_tests/fixtures/43151/mutations.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
[
2+
{
3+
"query": "mutation($input: AddLabelsToLabelableInput!) { addLabelsToLabelable(input: $input) { clientMutationId } }",
4+
"variables": {
5+
"input": {
6+
"labelIds": [
7+
"MDU6TGFiZWwyMTU0ODE2NTQ5"
8+
],
9+
"labelableId": "MDExOlB1bGxSZXF1ZXN0Mzg4Njk0NDU5"
10+
}
11+
}
12+
},
213
{
314
"query": "mutation($input: RemoveLabelsFromLabelableInput!) { removeLabelsFromLabelable(input: $input) { clientMutationId } }",
415
"variables": {

src/_tests/fixtures/43151/result.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"pr_number": 43151,
33
"targetColumn": "Needs Maintainer Action",
44
"labels": [
5-
"New Definition"
5+
"New Definition",
6+
"Check Config"
67
],
78
"responseComments": [
89
{

src/_tests/fixtures/43314/mutations.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
[
2+
{
3+
"query": "mutation($input: AddLabelsToLabelableInput!) { addLabelsToLabelable(input: $input) { clientMutationId } }",
4+
"variables": {
5+
"input": {
6+
"labelIds": [
7+
"MDU6TGFiZWwyMTU0ODE2NTQ5"
8+
],
9+
"labelableId": "MDExOlB1bGxSZXF1ZXN0MzkyMDM2NjA4"
10+
}
11+
}
12+
},
213
{
314
"query": "mutation($input: MoveProjectCardInput!) { moveProjectCard(input: $input) { clientMutationId } }",
415
"variables": {

src/_tests/fixtures/43314/result.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"pr_number": 43314,
33
"targetColumn": "Needs Maintainer Action",
44
"labels": [
5-
"New Definition"
5+
"New Definition",
6+
"Check Config"
67
],
78
"responseComments": [
89
{

src/_tests/fixtures/43695-duplicate-comment/_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"__typename": "Label"
2727
},
2828
{
29-
"name": "Config Edit",
29+
"name": "Check Config",
3030
"__typename": "Label"
3131
}
3232
],

src/_tests/fixtures/43695-duplicate-comment/mutations.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
"variables": {
1616
"input": {
1717
"labelIds": [
18-
"MDU6TGFiZWwyMTU0ODU3ODAw",
19-
"MDU6TGFiZWwyMTU0ODE2NTQ5"
18+
"MDU6TGFiZWwyMTU0ODU3ODAw"
2019
],
2120
"labelableId": "MDExOlB1bGxSZXF1ZXN0NDAwMTAwMTk2"
2221
}

src/_tests/fixtures/43695-duplicate-comment/result.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"targetColumn": "Needs Maintainer Action",
44
"labels": [
55
"New Definition",
6+
"Check Config",
67
"Unreviewed"
78
],
89
"responseComments": [

0 commit comments

Comments
 (0)