Skip to content

Commit ea9ab4b

Browse files
authored
chore: add AWSLINT_SAVE to the PR buildspec (#22743)
---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)? * [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 2430537 commit ea9ab4b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

buildspec-pr.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@ version: 0.2
22

33
# This buildspec is intended to be used by GitHub PR builds.
44

5+
env:
6+
variables:
7+
# Update package.json with "exclude" statements for all failing rules.
8+
# Whenever a new attribute to any resource in the CFN spec, by default
9+
# awslint will block the build because the attribute does not exist in
10+
# the corresponding L2 ('resource-attribute' rule). By ignoring it
11+
# automatically, we save on-call time, and users who have lived without
12+
# this attribute so far can wait for a bit longer.
13+
AWSLINT_SAVE: "true"
14+
515
phases:
616
install:
717
commands:

0 commit comments

Comments
 (0)