Skip to content

Commit ba4d5dc

Browse files
committed
Add cfn-lint
1 parent 10b529a commit ba4d5dc

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/workflows/cfn-lint.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: cfn-lint
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
cfn-lint:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v2
12+
13+
- name: cfn-lint
14+
uses: docker://scottbrenner/cfn-lint-action:latest
15+
with:
16+
args: "aws/logs_monitoring/template.yaml"

.github/workflows/lambdachecks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Lambda checks
22

3-
on: [push]
3+
on: [pull_request]
44

55
jobs:
66
build:

0 commit comments

Comments
 (0)