Skip to content

Feature Request: Add option to write GitHub Status Checks #762

@mtgto

Description

@mtgto

I found the workflow triggered forked pull request can not write status checks if the pull request and workflow meets all these conditions:

  1. the event that triggers the workflow is a pull_request.
    • We can add checks:write to permissions if the event is pull_request_target, but it checkouts HEAD revision, not merged revision.
  2. pull request is sent from forked repository.
  3. The repository is public.

If the workflow meets all of the above conditions, it will fail with the following message:

Run kishikawakatsumi/xcresulttool@v1
Error: Resource not accessible by integration

It would be nice if this action could disable the writing of Status Checks in the inputs.

Reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions