[BUG] Action doesn't show the error message?

#48 · closed · 0 comments

View on GitHub ↗

lukehsiao

**Describe the bug** When we run this github action, we see something like this: ``` Run cocogitto/cocogitto-action@v4 Run echo Installing cocogitto Installing cocogitto Run ${GITHUB_ACTION_PATH}/install.sh Downloading cocogitto version 6.4.0 for x86_64-unknown-linux-musl from https://github.com/cocogitto/cocogitto/releases/download/6.4.0/cocogitto-6.4.0-x86_64-unknown-linux-musl.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2990k 100 2990k 0 0 14.8M 0 --:--:-- --:--:-- --:--:-- 14.8M Run echo Running cocogitto Running cocogitto Run echo "$HOME/.local/bin" >> $GITHUB_PATH Run ${GITHUB_ACTION_PATH}/cog.sh \ Setting git user : github-actions Settings git user email github-actions[bot]@users.noreply.github.com cog 6.4.0 Running command: cog check Error: Process completed with exit code 1. ``` **To Reproduce** Steps to reproduce the behavior: ``` on: [push] name: Cocogitto jobs: cog_check_job: runs-on: ubuntu-latest name: check conventional commit compliance steps: - uses: actions/checkout@v5 with: fetch-depth: 0 - name: Conventional commits check uses: cocogitto/cocogitto-action@v4 with: command: check ``` Make an unconventional commit in a PR **Expected behavior** I expect to see the error message showing which commit is unconventional.

Comments