Open BBBmau opened 1 month ago
Hi,
I think that's because act
expects workflow yaml files in .github/workflows/ directory, not action yaml files.
As the log says, "DEBU[0000] Reading workflow '/Users/mau/Dev/openpilot/.github/workflows/auto-cache/action.yaml' "
I think you should consider to move your actions in a .github/actions dir to make your repo compatible with GitHub and with act. That's what I would try to do if I had the same issue :)
...The problem is actually that a feature request for GitHub Actions ",Workflows in subdirectories of .github/workflows" has been implemented in act
A PR that reverts/removes the feature would resolve this
Older versions would have handled an action.yml file as an empty workflow, which is incorrect
Hi @ChristopherHX
Do you think that some code change ignoring yaml files named "action" in .github/workflows would be a correct fix ?
Do you think that some code change ignoring yaml files named "action" in .github/workflows would be a correct fix ?
No, action.yml is a valid name for a workflow in .github/workflows until you can provide me an example on GitHub that shows the opposite.
Ignoring files without .yml/.yaml extension should be implemented in my opinion
This is also happening to me and only with composite
workflows.
composite
workflows
I don't like this term, because it is not 100% clear if it is a workflow or an action.
-W
cli parameter to a actual workflowIMO putting yaml files that are not workflows in .github/workflows is going to be a problem for you soon, when GitHub adds support for organizing workflows in folders this feature got label backlog for GitHub Actions
Bug report info
Command used with act
Describe issue
This happens on a fresh install of act using
brew install act
Link to GitHub repository
https://github.com/commaai/openpilot
Workflow content
Relevant log output
Additional information
No response