You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Detect Branch Changes
v0.1.2
This is a 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's default_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 where changed on since the current branche 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"