File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : ' Go commit linter'
2- description : ' Inspect commit messages with the format "<type>(scope): <subject>".'
3- inputs :
4- message : # id of input
5- description : ' commit message or pull request messaeg'
6- required : true
7- default : ' World'
8- outputs :
9- time : # id of output
10- description : ' The time we greeted you'
1+ name : ' Go pull request message linter'
2+ description : ' Inspect pull request messages with the format "<type>(scope): <subject>".'
113runs :
12- using : ' node16'
13- main : ' index.js'
4+ using : ' composite'
5+ steps :
6+ - run : |
7+ curl -Lo go-commitlinter.tar.gz https://github.com/masahiro331/go-commitlinter/releases/download/0.0.2/go-commitlinter_0.0.2_Linux_x86_64.tar.gz
8+ tar xvfz go-commitlinter.tar.gz
9+ mv go-commitlinter /usr/local/bin/
10+ shell: bash
11+ - run : gh pr view $PR | head -n 1 | cut -f 2 | go-commitlinter
12+ shell : bash
You can’t perform that action at this time.
0 commit comments