Prevents cross-branch uses:
directives to GitHub actions residing below the same root directory.
steps:
- uses: giancosta86/aurora-github/actions/check-action-references@v6
When creating actions in a repository acting as a library for GitHub Actions, you could need to reference one action from another: this action ensures that all the above local @
tags only reference actions on the current branch.
- The check is only performed on composite GitHub actions, written in files having
.yml
extension and residing below the givenactions-directory
.
Name | Type | Description | Default value |
---|---|---|---|
actions-directory |
string | The root of the directory tree containing the actions | actions |