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

Add private repo sync #304

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add private repo sync #304

wants to merge 1 commit into from

Conversation

billytrend-cohere
Copy link
Collaborator

@billytrend-cohere billytrend-cohere commented Dec 16, 2024

This PR introduces a new workflow named private-repo-sync to the .github/workflows/sync-private-repo.yml file. The workflow is triggered on a push event and is designed to synchronise a private repository with a public one.

Changes:

  • A new workflow named private-repo-sync is added.
  • The workflow is triggered on a push event.
  • The workflow runs on the ubuntu-latest runner.
  • The workflow uses the actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 action to checkout the repository.
  • The workflow uses the actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 action to create a GitHub app token.
  • The workflow adds a private remote repository using the generated token and pushes the current branch to the private repository.

Copy link

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.

1 participant