Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Report not generated for failing pull request job #214

Open
casey opened this issue Oct 15, 2021 · 1 comment
Open

Report not generated for failing pull request job #214

casey opened this issue Oct 15, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@casey
Copy link

casey commented Oct 15, 2021

I'm integrating cargo-audit, and it seems not to generate reports when I run it on pull requests. My workflow code is below, and you can see the jobs from a run here:

https://github.com/agora-org/agora/runs/3911274358

The audit step failed, but it did not generate an HTML report page.

Is this because I have it configured to run on pull_request?

Here's an example of a previous configuration, where I was running it on push and pull_request, and both instances failed, but it seems to have only generated a report for the push instance:

https://github.com/agora-org/agora/runs/3911258812

Is this expected behavior? I'm happy to enable logging and post the debug logs, but I wanted to make sure that this wasn't just expected behavior first.

Workflow Code

name: Audit
on:
  pull_request:
    branches:
    - master
    paths:
      - '**/Cargo.lock'
      - '**/Cargo.toml'
jobs:
  all:
    name: All
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/audit-check@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
@casey casey added the bug Something isn't working label Oct 15, 2021
@demisx
Copy link

demisx commented Oct 17, 2022

Same problem here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants