Skip to content

Commit 59ce749

Browse files
authored
Remove step from release action (#45)
* Remove step from release action * Fix pre-commit check The check-yaml hook fails Cloudformation templates. They are separately verified by cfn-lint and cfn-nag. It's unnecessary to verify them with this hook as well.
1 parent 851b236 commit 59ce749

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/release.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ jobs:
5353
# Package and Upload Archive
5454
- name: Pre-Package Copy Function
5555
run: cd source/witch/ && npm install --prefix nodejs mime-types && cp witch.js nodejs/node_modules/ && zip -r ../../witch.zip nodejs && cd ../../
56-
- name: Pre-Package Function
57-
run: cd source/secured-headers/ && zip -r ../../s-headers.zip index.js && cd ../../
5856
- name: Package Release
5957
run: zip -r packaged.zip -@ < ci/include.lst
6058
- name: Upload Release

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ repos:
99
- id: trailing-whitespace
1010
- id: end-of-file-fixer
1111
- id: check-yaml
12+
exclude: templates/*
1213
- id: check-added-large-files
1314
- id: pretty-format-json
1415
args: [--autofix, --indent, '4']

0 commit comments

Comments
 (0)