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

Use github.triggering_actor in ci.yml #279

Closed
pwildenhain opened this issue Oct 31, 2023 · 0 comments · Fixed by #282
Closed

Use github.triggering_actor in ci.yml #279

pwildenhain opened this issue Oct 31, 2023 · 0 comments · Fixed by #282

Comments

@pwildenhain
Copy link
Collaborator

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

@pwildenhain pwildenhain linked a pull request Nov 3, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant