[PR #1069] [MERGED] [Workflows] Prevent job runs on forks #1105

Closed
opened 2026-03-22 16:00:38 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: devHead: 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.

## 📋 Pull Request Information **Original PR:** https://github.com/harvard-edge/cs249r_book/pull/1069 **Author:** [@didier-durand](https://github.com/didier-durand) **Created:** 12/7/2025 **Status:** ✅ Merged **Merged:** 12/8/2025 **Merged by:** [@profvjreddi](https://github.com/profvjreddi) **Base:** `dev` ← **Head:** `fix-wf-1` --- ### 📝 Commits (1) - [`63ef620`](https://github.com/harvard-edge/cs249r_book/commit/63ef6200ee65106b0c4f14d65ca987e548f36138) [Workflows] Prevent job runs on forks ### 📊 Changes **2 files changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/book-build-linux-container.yml` (+1 -0) 📝 `.github/workflows/book-build-windows-container.yml` (+1 -0) </details> ### 📄 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-22 16:00:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cs249r_book#1105