Skip to content

Commit 6513670

Browse files
authored
A set of cleanup fixes (#4014)
* A set of cleanup fixes * Limit where github actions run
1 parent 633ff85 commit 6513670

File tree

13 files changed

+147
-24
lines changed

13 files changed

+147
-24
lines changed

.github/workflows/cd-pypi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
jobs:
88
deploy:
99
runs-on: ubuntu-latest
10+
if: github.repository == 'aws-cloudformation/cfn-lint'
1011
steps:
1112
- uses: actions/checkout@v4
1213
- name: Set up Python

.github/workflows/cd-release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
jobs:
88
build:
99
runs-on: ubuntu-latest
10+
if: github.repository == 'aws-cloudformation/cfn-lint'
1011
steps:
1112
- name: Checkout
1213
uses: actions/checkout@v4

.github/workflows/maintenance-v0.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
jobs:
77
job:
88
runs-on: ubuntu-latest
9+
if: github.repository == 'aws-cloudformation/cfn-lint'
910
steps:
1011
- uses: actions/checkout@v4
1112
with:

.github/workflows/maintenance-v1.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
jobs:
77
job:
88
runs-on: ubuntu-latest
9+
if: github.repository == 'aws-cloudformation/cfn-lint'
910
steps:
1011
- uses: actions/checkout@v4
1112
with:

scripts/update_schemas_manually.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,11 +593,11 @@
593593
path="/definitions/StageDeclaration/properties/Actions",
594594
),
595595
Patch(
596-
values={"pattern": "^[0-9A-Za-z_-]{1,9}$"},
596+
values={"pattern": "^[0-9A-Za-z_\-]{1,9}$"},
597597
path="/definitions/ActionTypeId/properties/Version",
598598
),
599599
Patch(
600-
values={"pattern": "^[A-Za-z0-9.@-_]{1,100}$"},
600+
values={"pattern": "^[A-Za-z0-9.@\-_]{1,100}$"},
601601
path="/definitions/ActionDeclaration/properties/Name",
602602
),
603603
],

src/cfnlint/data/schemas/patches/extensions/all/aws_codepipeline_pipeline/manual.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
{
1111
"op": "add",
1212
"path": "/definitions/ActionDeclaration/properties/Name/pattern",
13-
"value": "^[A-Za-z0-9.@-_]{1,100}$"
13+
"value": "^[A-Za-z0-9.@\\-_]{1,100}$"
1414
},
1515
{
1616
"op": "add",
1717
"path": "/definitions/ActionTypeId/properties/Version/pattern",
18-
"value": "^[0-9A-Za-z_-]{1,9}$"
18+
"value": "^[0-9A-Za-z_\\-]{1,9}$"
1919
},
2020
{
2121
"op": "add",

src/cfnlint/data/schemas/providers/ap_southeast_5/aws-codepipeline-pipeline.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"uniqueItems": true
2626
},
2727
"Name": {
28-
"pattern": "^[A-Za-z0-9.@-_]{1,100}$",
28+
"pattern": "^[A-Za-z0-9.@\\-_]{1,100}$",
2929
"type": "string"
3030
},
3131
"Namespace": {
@@ -76,7 +76,7 @@
7676
"type": "string"
7777
},
7878
"Version": {
79-
"pattern": "^[0-9A-Za-z_-]{1,9}$",
79+
"pattern": "^[0-9A-Za-z_\\-]{1,9}$",
8080
"type": "string"
8181
}
8282
},

src/cfnlint/data/schemas/providers/ap_southeast_7/aws-codepipeline-pipeline.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"uniqueItems": true
2626
},
2727
"Name": {
28-
"pattern": "^[A-Za-z0-9.@-_]{1,100}$",
28+
"pattern": "^[A-Za-z0-9.@\\-_]{1,100}$",
2929
"type": "string"
3030
},
3131
"Namespace": {
@@ -76,7 +76,7 @@
7676
"type": "string"
7777
},
7878
"Version": {
79-
"pattern": "^[0-9A-Za-z_-]{1,9}$",
79+
"pattern": "^[0-9A-Za-z_\\-]{1,9}$",
8080
"type": "string"
8181
}
8282
},

src/cfnlint/data/schemas/providers/ca_west_1/aws-codepipeline-pipeline.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"uniqueItems": true
2626
},
2727
"Name": {
28-
"pattern": "^[A-Za-z0-9.@-_]{1,100}$",
28+
"pattern": "^[A-Za-z0-9.@\\-_]{1,100}$",
2929
"type": "string"
3030
},
3131
"Namespace": {
@@ -76,7 +76,7 @@
7676
"type": "string"
7777
},
7878
"Version": {
79-
"pattern": "^[0-9A-Za-z_-]{1,9}$",
79+
"pattern": "^[0-9A-Za-z_\\-]{1,9}$",
8080
"type": "string"
8181
}
8282
},

src/cfnlint/data/schemas/providers/us_east_1/aws-codepipeline-pipeline.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"uniqueItems": true
3333
},
3434
"Name": {
35-
"pattern": "^[A-Za-z0-9.@-_]{1,100}$",
35+
"pattern": "^[A-Za-z0-9.@\\-_]{1,100}$",
3636
"type": "string"
3737
},
3838
"Namespace": {
@@ -100,7 +100,7 @@
100100
"type": "string"
101101
},
102102
"Version": {
103-
"pattern": "^[0-9A-Za-z_-]{1,9}$",
103+
"pattern": "^[0-9A-Za-z_\\-]{1,9}$",
104104
"type": "string"
105105
}
106106
},

0 commit comments

Comments
 (0)