Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors do not stop builds on "workflow_call" #103

Open
miguelb-gk opened this issue Apr 20, 2023 · 0 comments
Open

Errors do not stop builds on "workflow_call" #103

miguelb-gk opened this issue Apr 20, 2023 · 0 comments

Comments

@miguelb-gk
Copy link

We are trying to add this action as part of our CI process and its succeeds even though there are errors.

GHA yml file...

name: Go Code Quality Checks
on:
  workflow_call:
    inputs:
      SHA:
        description: "full sha to build"
        type: string
        required: true

jobs:
  Checks:
    runs-on: ubuntu-latest
    timeout-minutes: 10
    steps:
      - name: Checkout
        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
        with:
          ref: ${{ inputs.sha }}

      - name: Run Revive Action by pulling pre-built image
        uses: docker://morphy/revive-action:v2
        with:
          config: revive.toml

The job succeeds with this message...
Successful run with 95 failures (0 warnings, 95 errors)

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

No branches or pull requests

1 participant