Skip to content

Update repo-sync.yml #38463

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

Merged
merged 1 commit into from
May 22, 2025
Merged

Update repo-sync.yml #38463

merged 1 commit into from
May 22, 2025

Conversation

Ebonsignori
Copy link
Contributor

Repo sync workflow needs to be synced with internal changes so that it can update those internal changes: 🐔 🥚 🐔

@Copilot Copilot AI review requested due to automatic review settings May 21, 2025 21:41
@Ebonsignori Ebonsignori enabled auto-merge May 21, 2025 21:41
Copy link
Contributor

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

This pull request contains code changes, so we will not generate a table of review links.

🤖 This comment is automatically generated.

Copy link
Contributor

👋 Hey there spelunker. It looks like you've modified some files that we can't accept as contributions:

  • .github/workflows/repo-sync.yml

You'll need to revert all of the files you changed that match that list using GitHub Desktop or git checkout origin/main <file name>. Once you get those files reverted, we can continue with the review process. :octocat:

The complete list of files we can't accept are:

  • .devcontainer/**
  • .github/**
  • data/reusables/rai/**
  • Dockerfile*
  • src/**
  • package*.json
  • content/actions/deployment/security-hardening-your-deployments/**

We also can't accept contributions to files in the content directory with frontmatter type: rai.

@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label May 21, 2025
@Ebonsignori Ebonsignori disabled auto-merge May 21, 2025 21:42
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Syncs the repo-sync workflow with internal updates by swapping out the base PAT secret for a dedicated repo-sync secret

  • Replaces DOCS_BOT_PAT_BASE with DOCS_BOT_PAT_REPO_SYNC for source_repo
  • Updates both github_token and github-token inputs to use the new secret
Comments suppressed due to low confidence (1)

.github/workflows/repo-sync.yml:31

  • Ensure that the new secret DOCS_BOT_PAT_REPO_SYNC is added and properly scoped in the repository’s secrets settings to prevent the workflow from failing.
source_repo: https://${{ secrets.DOCS_BOT_PAT_REPO_SYNC }}@github.com/github/${{ github.repository == 'github/docs-internal' && 'docs' || 'docs-internal' }}.git

@heiskr heiskr merged commit 336f2b3 into main May 22, 2025
46 of 47 checks passed
@heiskr heiskr deleted the sync-repo-sync branch May 22, 2025 02:45
Copy link
Contributor

Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our help wanted issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Do not begin working on this issue until triaged by the team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants