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

CI errors downloading test results from S3 when PRs are submitted from people who aren't me #134

Closed
cormacrelf opened this issue Nov 2, 2021 · 2 comments · Fixed by #136

Comments

@cormacrelf
Copy link
Collaborator

See #128 (comment), #133

(Note to self, this PR's checks ran without the AWS keys necessary to fetch the master test run results. Using the annoying cross-workflow artefact download thing instead of S3 would alleviate this.)

@stakats
Copy link
Member

stakats commented Nov 2, 2021 via email

@cormacrelf
Copy link
Collaborator Author

They already are, I don't think it would help to move to org level secrets either because I think the logic is "PRs from forks cannot use any secrets ever", hence you only ever need to look at one repository's access control settings to see who can touch the secrets.

The secrets give access to one S3 bucket on my own AWS account. I have been meaning to rectify that anyway. Not for cost (basically free), I just don't think anyone wants that long term. From least to most permanent fixes:

  • have @tnajdek push to branches on zotero/citeproc-rs and PR those branches, instead of from a fork.
  • implement it in Github Actions, removing the S3 bucket entirely. This would use a read-only GITHUB_TOKEN on pull requests from forks, so would work fine.
  • just delete the regression testing! You can just run these tests normally. It's not as useful when they are all meant to pass, instead of just some of them.

I think I'll just do # 3, a solution that deletes code is a rare treat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants