actionlint icon indicating copy to clipboard operation
actionlint copied to clipboard

Composite actions support?

Open druskus20 opened this issue 1 year ago • 4 comments

Would it be possible for this tool to work with composite actions too? Composite actions have turned out to be very useful for me to re-use functionality across repositories, but this action does not seem to support them. Most of the pitfalls of workflows / re-usable workflows still apply there.

Thanks!

druskus20 avatar Feb 22 '24 17:02 druskus20

I agree, or please add ignoring of files list from config ASAP. Currently I should disable the entire linting of file in Super-Linter via enviornment variable: FILTER_REGEX_EXCLUDE: .github/workflows/composite-actions/action.yml. There will be no yaml lint either.

alexanderbazhenoff avatar Mar 09 '24 19:03 alexanderbazhenoff

Is this a duplicate of...?

  • https://github.com/rhysd/actionlint/issues/46

MPV avatar Apr 30 '24 14:04 MPV

I agree, or please add ignoring of files list from config ASAP. Currently I should disable the entire linting of file in Super-Linter via enviornment variable: FILTER_REGEX_EXCLUDE: .github/workflows/composite-actions/action.yml. There will be no yaml lint either.

@alexanderbazhenoff You can also move your actions outside .github/workflows, e.g. to .github/actions.

Is this a duplicate of...?

I guess so, I was not able to find that issue when I originally posted. If it is, we can close this one.

druskus20 avatar May 22 '24 11:05 druskus20