File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5757 run : cd source/secured-headers/ && zip -r ../../s-headers.zip index.js && cd ../../
5858 - name : Package Release
5959 run : zip -r packaged.zip -@ < ci/include.lst
60- - name : Upload Release
61- run : aws s3 cp packaged.zip s3://$CFN_BUCKET/amazon-cloudfront-secure-static-site/v${{ env.THIS_VERSION }}/amazon-cloudfront-secure-static-site.zip
60+ # - name: Upload Release
61+ # run: aws s3 cp packaged.zip s3://$CFN_BUCKET/amazon-cloudfront-secure-static-site/v${{ env.THIS_VERSION }}/amazon-cloudfront-secure-static-site.zip
6262 env :
6363 CFN_BUCKET : ${{ secrets.CFN_BUCKET }}
Original file line number Diff line number Diff line change 77** /.zip
88** /tmp
99** /out-tsc
10- /templates
1110** /settings.js
11+ ** /packaged.template
1212
1313# dependencies
1414** /node_modules
2222# misc
2323** /npm-debug.log
2424** /testem.log
25+ ** /.env
2526# package-lock.json
2627** /.vscode /settings.json
2728** /setenv.sh
Original file line number Diff line number Diff line change 1+ # See https://pre-commit.com for more information
2+ # See https://pre-commit.com/hooks.html for more hooks
3+
4+ repos :
5+ # General
6+ - repo : https://github.com/pre-commit/pre-commit-hooks
7+ rev : v2.4.0
8+ hooks :
9+ - id : trailing-whitespace
10+ - id : end-of-file-fixer
11+ - id : check-yaml
12+ - id : check-added-large-files
13+ - id : pretty-format-json
14+ args : [--autofix, --indent, '4']
15+ - id : no-commit-to-branch
16+ args : ['--branch', 'master']
17+
18+ # Secrets
19+ - repo : https://github.com/awslabs/git-secrets
20+ rev : 5e28df337746db4f070c84f7069d365bfd0d72a8
21+ hooks :
22+ - id : git-secrets
23+
24+ # CloudFormation
25+ - repo : https://github.com/aws-cloudformation/cfn-python-lint
26+ rev : v0.27.1
27+ hooks :
28+ - id : cfn-python-lint
29+ name : AWS CloudFormation Linter
30+ files : \.(template)$
31+ args : [--ignore-checks=W3002]
You can’t perform that action at this time.
0 commit comments