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

Split the workflow that runs our tools from the workflow that writes the checks. #1257

Closed
wants to merge 6 commits into from

Conversation

BillWagner
Copy link
Member

Make the initial code to create a check run using a chained workflow.

This improves security. Our automated tools can run in the pull_request context, which means it runs in the context of a fork, rather than the context of the base repository.

That means our actions can't create status checks. That REST API requires write access to the base repository.

So, run the tools and build the text output for the status check.

That workflow's completion triggers a workflow that writes the status check.

Make the initial code to create a check run using a chained workflow.
@BillWagner
Copy link
Member Author

Closing in favor of #1269

@BillWagner BillWagner closed this Feb 10, 2025
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.

2 participants