GitHub Action
Detect Branch Changes
v0.2.0
Latest version
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/[email protected]
- uses: younited/[email protected]
with:
pathspec: "application configs"
- uses: younited/[email protected]
with:
pathspec: "a/dee/nested/folder/*.rb"
- uses: younited/[email protected]
with:
base_branch: "hotfix-147"