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

Upload Linux render tests in separate unprivileged workflow #1069

Merged
merged 1 commit into from Apr 25, 2023

Conversation

louwers
Copy link
Collaborator

@louwers louwers commented Apr 25, 2023

Second attempt to upload the render test results of the linux-ci workflow, which needs to happen in a privileged workflow.

Instead of doing it in the same workflow with a pull_request_target event trigger, which cannot really be made secure, I use a separate workflow with the workflow_run event.

I based my implementation on the GitHub workflow docs. It's not easy to debug, I don't think I got it right in one go. https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run

@louwers louwers requested a review from ovivoda April 25, 2023 15:05
Copy link
Contributor

@ovivoda ovivoda left a comment

Choose a reason for hiding this comment

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

It looks good @louwers !

@louwers louwers merged commit deef522 into maplibre:main Apr 25, 2023
2 of 3 checks passed
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