Skip to content

Commit

Permalink
chore: add AWSLINT_SAVE to the PR buildspec (#22743)
Browse files Browse the repository at this point in the history
----

### 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*
  • Loading branch information
otaviomacedo committed Nov 2, 2022
1 parent 2430537 commit ea9ab4b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions buildspec-pr.yaml
Expand Up @@ -2,6 +2,16 @@ version: 0.2

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

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

phases:
install:
commands:
Expand Down

0 comments on commit ea9ab4b

Please sign in to comment.