Skip to content

Commit

Permalink
ci: skip rule w3002 in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hayk99 committed May 2, 2023
1 parent 37dbc48 commit bc81cd5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci-pull-request-apprunner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
- name: Print the Cloud Formation Linter Version & run Linter
run: |
cfn-lint --version
cfn-lint -t templates_apprunner/**/*.yaml
# -i 3002 will not apply rule 3002 https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/rules.md
# which is failing in ci/cd
cfn-lint -t templates_apprunner/**/*.yaml -i W3002

build:
name: Build and Upload AppRunner templates
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci-pull-request-ecs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
- name: Print the Cloud Formation Linter Version & run Linter
run: |
cfn-lint --version
cfn-lint -t templates_ecs/**/*.yaml
# -i 3002 will not apply rule 3002 https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/rules.md
# which is failing in ci/cd
cfn-lint -t templates_ecs/**/*.yaml -i W3002

build:
name: Build and Upload ECS templates
Expand Down

0 comments on commit bc81cd5

Please sign in to comment.