-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support ignoring file deletions (#76)
* Support ignoring file deletions Tweak action.yml * Tweak the readme description Co-authored-by: Onkar Ruikar <[email protected]> * tweak removed file check to include line_deletion var Co-authored-by: Onkar Ruikar <[email protected]> * docs: unify the "Basic concepts or assumptions" readme section into the most related arguments to make it easier to read Improve the existing contribution guide (#74) * Improve the existing contribution guide * reorder the contribution steps to push testing up Co-authored-by: Javier Ferrer González <[email protected]> * tweak contribution process opener copy Co-authored-by: Javier Ferrer González <[email protected]> --------- Co-authored-by: Javier Ferrer González <[email protected]> Put back accidental deletion --------- Co-authored-by: Onkar Ruikar <[email protected]> Co-authored-by: Javier Ferrer González <[email protected]> Co-authored-by: Rob W <[email protected]>
- Loading branch information
1 parent
f8dce3e
commit cc6827c
Showing
12 changed files
with
87 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,93 @@ | ||
[ | ||
{ | ||
"filename": ".editorconfig", | ||
"status": "added", | ||
"additions": 9, | ||
"deletions": 0, | ||
"changes": 9 | ||
}, | ||
{ | ||
"filename": ".github/workflows/ci.yml", | ||
"status": "modified", | ||
"additions": 17, | ||
"deletions": 0, | ||
"changes": 17 | ||
}, | ||
{ | ||
"filename": "asdasdasd.lock", | ||
"status": "modified", | ||
"additions": 1188, | ||
"deletions": 0, | ||
"changes": 1188 | ||
}, | ||
{ | ||
"filename": "entrypoint.sh", | ||
"status": "modified", | ||
"additions": 4, | ||
"deletions": 4, | ||
"changes": 8 | ||
}, | ||
{ | ||
"filename": "src/ensure.sh", | ||
"status": "modified", | ||
"additions": 4, | ||
"deletions": 4, | ||
"changes": 8 | ||
}, | ||
{ | ||
"filename": "src/github.sh", | ||
"status": "added", | ||
"additions": 89, | ||
"deletions": 76, | ||
"changes": 165 | ||
}, | ||
{ | ||
"filename": "src/github_actions.sh", | ||
"status": "modified", | ||
"additions": 1, | ||
"deletions": 1, | ||
"changes": 2 | ||
}, | ||
{ | ||
"filename": "src/inner.lock", | ||
"status": "modified", | ||
"additions": 1188, | ||
"deletions": 0, | ||
"changes": 1188 | ||
}, | ||
{ | ||
"filename": "src/labeler.sh", | ||
"status": "modified", | ||
"additions": 48, | ||
"deletions": 48, | ||
"changes": 96 | ||
}, | ||
{ | ||
"filename": "src/log.sh", | ||
"status": "modified", | ||
"additions": 17, | ||
"deletions": 0, | ||
"changes": 17 | ||
}, | ||
{ | ||
"filename": "src/main.sh", | ||
"status": "modified", | ||
"additions": 34, | ||
"deletions": 23, | ||
"changes": 57 | ||
}, | ||
{ | ||
"filename": "src/misc.sh", | ||
"status": "modified", | ||
"additions": 10, | ||
"deletions": 14, | ||
"changes": 24 | ||
}, | ||
{ | ||
"filename": "deleted_file.txt", | ||
"status": "removed", | ||
"additions": 0, | ||
"deletions": 123, | ||
"changes": 123 | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/snapshots/github_test_sh.test_should_count_changes_ignore_file_deletions.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2779 |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
tests/snapshots/github_test_sh.test_should_ignore_files_with_glob.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
394 | ||
517 |
1 change: 1 addition & 0 deletions
1
...napshots/github_test_sh.test_should_ignore_files_with_glob_ignore_file_deletions.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
394 |
File renamed without changes.