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

Run the build on pull requests as well #571

Open
wants to merge 1 commit into
base: lean4
Choose a base branch
from

Conversation

Ruben-VandeVelde
Copy link
Contributor

deploy.sh already has a if [ "$github_repo" = "leanprover-community/leanprover-community.github.io" -a "$github_ref" = "refs/heads/lean4" ]; then check that should make sure the site is only built, not deployed.

@@ -5,6 +5,7 @@ on:
branches-ignore:
- 'master'
- 'oldsite'
pull_request:
Copy link
Collaborator

Choose a reason for hiding this comment

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

The build process relies on some GitHub API tokens in the repo secrets that PRs from forks don't usually have access to, but maybe pull_request_target will work?

Suggested change
pull_request:
pull_request_target:

@bryangingechen bryangingechen self-assigned this Jan 9, 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