Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.26 KB

File metadata and controls

30 lines (18 loc) · 1.26 KB

check-action-references

Prevents cross-branch uses: directives to GitHub actions residing below the same root directory.

Example

steps:
  - uses: giancosta86/aurora-github/actions/check-action-references@v6

How it works

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.

Requirements

  • The check is only performed on composite GitHub actions, written in files having .yml extension and residing below the given actions-directory.

Inputs 📥

Name Type Description Default value
actions-directory string The root of the directory tree containing the actions actions

Further references