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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "To allow PRs from forks, use pull_request_target" #20

Merged
merged 1 commit into from
Sep 7, 2020

Conversation

LukeMondy
Copy link
Contributor

This reverts commit 92006f2.

This is not what we wanted - it does not run the actions on the code
from the PR itself, meaning its previews (for example) are not useful

We still have the issue of GitHub secrets not being shared with forks, which prevents the deploy step 馃

I think the intermediate solution is that PRs should be branches for now, until we work something out.

This reverts commit 92006f2.

This is not what we wanted - it does not run the actions on the code
from the PR itself, meaning its previews (for example) are not useful

Signed-off-by: Luke Mondy <Luke.Mondy@data61.csiro.au>
@LukeMondy LukeMondy requested a review from lsf37 September 7, 2020 00:56
@github-actions
Copy link

github-actions bot commented Sep 7, 2020

Preview your changes here

@lsf37
Copy link
Member

lsf37 commented Sep 7, 2020

Is there some way in pull_request_target to get the ref or number of the actual pull request? Then we could manually check out that version (instead of _target) to run the static build from and would still have the workflow and secrets from the base.

Copy link
Member

@lsf37 lsf37 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine from my side to revert for now so that we have something working.

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 this pull request may close these issues.

None yet

2 participants