Skip to content

Unable to publish audit check from forked repos #28

@kaizencc

Description

@kaizencc

I'm using rustsec/audit-check@v2 and receiving the following error:

No vulnerabilities were found
Warning: 1 warnings found!
Found 1 other
Error: Unable to publish audit check! Reason: HttpError: Resource not accessible by integration - https://docs.github.com/rest/checks/runs#create-a-check-run
Warning: It seems that this Action is executed from the forked repository.
Warning: GitHub Actions are not allowed to use Check API, when executed for a forked repos. See https://github.com/actions-rs/clippy-check/issues/2 for details.
Posting audit report here instead.


## Warnings

### Crate `futures-util` is yanked

No extra details provided.


No critical vulnerabilities were found, not marking check as failed

Or, the error will just be:

Warning: 1 warnings found!
Found 1 other
Error: Resource not accessible by integration - https://docs.github.com/rest/checks/runs#create-a-check-run

Some examples:
https://github.com/cdklabs/cdk-from-cfn/actions/runs/11216029024/job/31174437589
https://github.com/cdklabs/cdk-from-cfn/actions/runs/11242147829/job/31255195316

I'm not working on a forked repository but audit-check is forked. Is this a problem on my end or on yours?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions