mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 08:06:54 +00:00
ci: add example that shows json results
This commit is contained in:
parent
25a8edceb7
commit
8d360d2e46
1 changed files with 4 additions and 0 deletions
4
.github/workflows/commitlint.yml
vendored
4
.github/workflows/commitlint.yml
vendored
|
|
@ -13,6 +13,10 @@ jobs:
|
|||
- run: sed -i -E "s/([']docker:.+)/Dockerfile/" ./action.yml
|
||||
- run: echo -n '' > .dockerignore
|
||||
- uses: ./
|
||||
id: run_commitlint
|
||||
- name: Show results from JSON output
|
||||
if: ${{ always() }}
|
||||
run: echo ${{ toJSON(steps.run_commitlint.outputs.results) }}
|
||||
commitlint-with-yml-file:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
|
|
|
|||
Loading…
Reference in a new issue