mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-24 17:22:06 -05:00
[PR #1069] [MERGED] [Workflows] Prevent job runs on forks #1105
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1069
Author: @didier-durand
Created: 12/7/2025
Status: ✅ Merged
Merged: 12/8/2025
Merged by: @profvjreddi
Base:
dev← Head:fix-wf-1📝 Commits (1)
63ef620[Workflows] Prevent job runs on forks📊 Changes
2 files changed (+2 additions, -0 deletions)
View changed files
📝
.github/workflows/book-build-linux-container.yml(+1 -0)📝
.github/workflows/book-build-windows-container.yml(+1 -0)📄 Description
Hi,
Due to their cron scheduling, the 2 workflows updated by this PR will start and fail on repo forks.
The added ìf`conditions prevent these failures.
See https://docs.github.com/en/actions/how-tos/write-workflows/choose-when-workflows-run/control-jobs-with-conditions
Cheers
Didier
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.