actions-marketplace-validations/Get Diff Action Node20

GitHub actions to get git diff.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
GITHUB_TOKENSecret GitHub API token used to make API requests.no${{ github.token }}
DOTDot.no...
BASEbaseno
RELATIVErelative filterno
DIFF_FILTERDiff filter.noAMRC
FORMATOutput format (text or json)notext
ESCAPE_JSONWhether to escape when json format.no
SEPARATORSeparator of diffs.no""
PATTERNSTarget file pattern.no
MINIMATCH_OPTION_NOBRACEhttps://github.com/isaacs/minimatch#nobraceno
MINIMATCH_OPTION_NOGLOBSTARhttps://github.com/isaacs/minimatch#noglobstarno
MINIMATCH_OPTION_DOThttps://github.com/isaacs/minimatch#dotno
MINIMATCH_OPTION_NOEXThttps://github.com/isaacs/minimatch#noextno
MINIMATCH_OPTION_NOCASEhttps://github.com/isaacs/minimatch#nocaseno
MINIMATCH_OPTION_MATCH_BASEhttps://github.com/isaacs/minimatch#matchbaseno
MINIMATCH_OPTION_NONEGATEhttps://github.com/isaacs/minimatch#nonegateno
FILESSpecific files.no
SUMMARY_INCLUDE_FILESWhether the summary contains the result of specific files.no
ABSOLUTEGet as absolute path.no
SET_ENV_NAMEEnv name (diff).noGIT_DIFF
SET_ENV_NAME_FILTERED_DIFFEnv name (filtered_diff).noGIT_DIFF_FILTERED
SET_ENV_NAME_MATCHED_FILESEnv name (matched_files).noMATCHED_FILES
SET_ENV_NAME_COUNTEnv name (count).no
SET_ENV_NAME_INSERTIONSEnv name (insertions).no
SET_ENV_NAME_DELETIONSEnv name (deletions).no
SET_ENV_NAME_LINESEnv name (lines).no
DIFF_DEFAULTDefault value (diff).no
FILTERED_DIFF_DEFAULTDefault value (filtered_diff).no
MATCHED_FILES_DEFAULTDefault value (matched_files).no
COUNT_DEFAULTDefault value (count).no0
GET_FILE_DIFFWhether to get file diff.no
INSERTIONS_DEFAULTDefault value (insertions).no0
DELETIONS_DEFAULTDefault value (deletions).no0
LINES_DEFAULTDefault value (lines).no0
CHECK_ONLY_COMMIT_WHEN_DRAFTWhether to check only commits when drafting.no
SUPPRESS_ERRORWhether to suppress git diff error.no
namedescription
diffThe results of diff file names.
filtered_diffThe results of diff file names.
countThe number of diff files.
insertionsThe number of insertions lines.
deletionsThe number of deletions lines.
linesThe number of diff lines.