Skip to content
This repository has been archived by the owner on Sep 14, 2020. It is now read-only.

Error when using this Action #1

Open
belozer opened this issue Sep 11, 2019 · 1 comment
Open

Error when using this Action #1

belozer opened this issue Sep 11, 2019 · 1 comment

Comments

@belozer
Copy link

belozer commented Sep 11, 2019

    - name: Commitlint CLI
      uses: bennypowers/[email protected]

Download action repository 'bennypowers/[email protected]'
##[error](Line: 6, Col: 7): Unexpected value 'node index.js'
##[error](Line: 6, Col: 7): Unexpected value 'node index.js'
##[error]Unexpected type 'StringToken' encountered while reading 'runs'. The type 'MappingToken' was expected.
 ##[error]Fail to load /home/runner/work/_actions/bennypowers/commitlint-gh-actions/v1.0.1/action.yml
@wagoid
Copy link

wagoid commented Oct 8, 2019

hi @belozer @bennypowers, I also wanted the commitlint action in my repos and started trying to fix this. Then I noticed that in my case it would be better to create an action that doesn't depend on context (a docker action) so that I could use it in any different project regardless of the project's stack.
So in case you guys want to use it, this is the action I created: https://github.com/marketplace/actions/commit-linter. If you want to have a look at my action and use it as a base to update yours, feel free to do that! Or if you want to use mine, any feedback is welcome.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants