This is GitHub Action allows you to detect all changes in a branch. This is done by detecting the fork-point of the current branch with the repo's main branch.
base_branch
- Branch where the fork-point will be found on. Defaults to the repo'sdefault_branch
.pathspec
- Which paths should be considered to detect changes on. This path spec must be compattible with thegit diff
command.
changed
- Returns"true"
or"false"
if files were changed on the current branch since it was forked frombase_branch
.fork_point_sha
- The commit SHA that is considered the fork point between this branch and and thebase_branch
.
- uses: younited/detect-branch-changes-action@v0.1.3
- uses: younited/detect-branch-changes-action@v0.1.3
with:
pathspec: "application configs"
- uses: younited/detect-branch-changes-action@v0.1.3
with:
pathspec: "a/dee/nested/folder/*.rb"
- uses: younited/detect-branch-changes-action@v0.1.3
with:
base_branch: "hotfix-147"