Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Jul 14, 2025

This PR adds a new GitHub Actions workflow that runs builds automatically once per week, ensuring that builds are executed regularly even when there are no recent changes to the main branch.

Changes Made

  • New workflow file: .github/workflows/weekly-build.yml
  • Schedule: Runs every Sunday at midnight UTC using cron expression '0 0 * * 0'
  • Manual trigger: Includes workflow_dispatch for testing purposes
  • Build matrix: Uses identical configuration to the existing build.yml workflow
  • Artifact naming: Weekly build artifacts are suffixed with -weekly to distinguish them from push-triggered builds

Rationale

The existing build.yml workflow only runs when code is pushed to main or release branches. During periods of low activity, this could mean builds don't run for extended periods, potentially missing issues with dependencies, toolchain updates, or other environmental changes.

This weekly build ensures:

  • Regular validation of the build process
  • Early detection of dependency or environment issues
  • Consistent artifact generation for downstream processes
  • Maintained build confidence during quiet development periods

Testing

The workflow can be manually triggered via the GitHub Actions UI for immediate testing. The scheduled execution will begin automatically according to the cron schedule.

Fixes #225.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] add script to run build weekly Add weekly build workflow to ensure regular builds even during quiet periods Jul 14, 2025
Copilot finished work on behalf of eleanorjboyd July 14, 2025 21:18
@Copilot Copilot AI requested a review from eleanorjboyd July 14, 2025 21:18
@Copilot Copilot AI requested a review from eleanorjboyd July 14, 2025 21:46
Copilot finished work on behalf of eleanorjboyd July 14, 2025 21:46
@eleanorjboyd
Copy link
Member

@copilot please update to add the new weekly run to the existing azure yml instead of making a new one

Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jul 15, 2025

@copilot please update to add the new weekly run to the existing azure yml instead of making a new one

I've updated the implementation as requested. Removed the GitHub Actions weekly workflow and added the weekly schedule to the existing Azure pipeline (pre-release.yml) instead. The weekly build now runs every Sunday at midnight UTC using Azure's schedules configuration. Changes made in commit 4a0a55a.

Copilot finished work on behalf of eleanorjboyd July 15, 2025 15:08
@eleanorjboyd eleanorjboyd marked this pull request as ready for review July 15, 2025 15:27
@vs-code-engineering vs-code-engineering bot added this to the July 2025 milestone Jul 15, 2025
@eleanorjboyd eleanorjboyd modified the milestones: July 2025, August 2025 Jul 29, 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.

add script to run build weekly

2 participants