===
Github actions may be a source of luck and fun or pain.
The moments when it does not accept your workflow file are the the worst amongs them.
Help is on the way
Firstly , there is GitHub Action-LINT , so there is no more push-check-push-check necessary anymore as it works instant in your browser.
In the current case, the indent of the beging of the words need to be matched , so here is a line-by-line comparison
Wrong | Correct |
---|---|
Action-LINT shows a dot next to the line , since run: is errnously placed one whitespace too much to the right. This often happens when the colons ( : ) are placed directly over each other |
Action LINT does not complain when run: and name: have the proper indentation and the first characters are directly above each other |
You are using gitlab ?
Cool for you ,
Happy Coding