Closed abelzer212 closed 2 years ago
Code Climate has analyzed commit 3f2e400b and detected 0 issues on this pull request.
The test coverage on the diff in this pull request is 100.0% (50% is the threshold).
This pull request will bring the total coverage in the repository to 24.8% (0.0% change).
View more on Code Climate.
This script is super cool
Purpose
Alter the github action to only deploy changed files
Linked Issues to Close
https://qmacbis.atlassian.net/browse/OY2-19678
Approach
We use a new Git Actions service GitDiff to find the list of changed files. We then filter the deployment service list to only include these changed files. If a file changed outside of a service, we deploy the entire application to be safe.
Adding this to your repo
This should be as easy as finding the appropriate files you're using and adding in the code from this PR. If you have any issues please reach out
Pull Request Creator Checklist
Pull Request Reviewer/Assignee Checklist