aws-amplify / aws-amplify/amplify-hosting

Amplify Console should be able to build only when certain files have been modified

Open
#2,336 7 comments 7 reactions 0 assignees View on GitHub
feature-request
Dominant language
Dockerfile
Stars
481
Forks
123
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
It's annoying and a waste of resources to build & deploy if we modify files that have nothing to do with the code (e.g. README or unit tests)

**Describe the solution you'd like**
It would be great to have a solution like the one GitHub Actions offers, where we can specify multiple paths to check for modified files:

```yaml
on:
push:
branches:
- main
paths:
- 'src/**'
- 'infra/**'
- '.env*'
- 'cdk.context.json'
```

Contributor guide

Open the contributing guide

Research direction

No implementation files, tests, or entry points are named. Start by locating the Amplify Console build and deployment configuration and comparing its capabilities with GitHub Actions path filters; done means unrelated changes such as README or unit-test edits no longer trigger a build, while changes in configured source or infrastructure paths still do.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, github-actions
Domain
ci-cd, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.