Skip to content

Use github.triggering_actor in ci.yml #279

@pwildenhain

Description

@pwildenhain

Yes. And I think in the ci.yml file, on line 40 if you swap out: if: github.actor == 'pwildenhain'

With: if: github.triggering_actor == 'pwildenhain'

I think then doctest's will not get run in a fork. It thinks you were the initial github 'actor' since there was some sort of Build 1 when the PR was created here, and then when I tried Build 2 I think it failed (I think the build keeps your username as the actor, but maybe triggering_actor would work...)

https://docs.github.com/en/actions/learn-github-actions/contexts#github-context

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