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

Github Actions: do not run publish_head.yml in forks #67

Closed
zerospiel opened this issue Feb 7, 2025 · 1 comment · Fixed by #97
Closed

Github Actions: do not run publish_head.yml in forks #67

zerospiel opened this issue Feb 7, 2025 · 1 comment · Fixed by #97

Comments

@zerospiel
Copy link
Contributor

If a repository is forked then the deploy-docs job from the publich_head.yml has not to be run because at least it will trigger the error caused by the git fetch origin gh-pages from the job's last step.

Expected:
In a fork I expect to perform git checkout main && git fetch --all -p && git rebase upstream/main && git push to successfully run without any failure in actions.

Actual:
Performing the aforementioned command triggers the deploy-docs job and causes failure which ends up with redundant frictions/e-mail notifications/etc.

@PrashantR30
Copy link
Contributor

Hello @DinaBelova Please assign it to me. Thanks.

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

Successfully merging a pull request may close this issue.

3 participants