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

Prevent GitHub Actions from running docs-related CI on forks #3697

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

lan496
Copy link
Contributor

@lan496 lan496 commented Mar 20, 2024

.github/workflows/jekyll-gh-pages.yml run on forked repository, and caused CI fails if the forked repository is not set up for GitHub Pages (e.g. https://github.com/lan496/pymatgen/actions/runs/8325702971).
As the CI for testing is already disabled on forked (531561d), I think it will be reasonable to disable CI for Github Pages as well.

@janosh janosh added contributing Issues about how to contribute, report errors, submit features ci Continuous integration dx Developer experience labels Mar 20, 2024
Copy link
Member

@janosh janosh left a comment

Choose a reason for hiding this comment

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

thanks @lan496, makes perfect sense

@janosh janosh enabled auto-merge (squash) March 20, 2024 10:11
@janosh janosh merged commit 0ab8707 into materialsproject:master Mar 20, 2024
22 checks passed
@lan496 lan496 deleted the prevent-gh-pages-on-fork branch March 20, 2024 10:28
@janosh janosh changed the title Prevent GitHub Actions from running document related CIs on forks Prevent GitHub Actions from running docs-related CI on forks Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous integration contributing Issues about how to contribute, report errors, submit features dx Developer experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants