Fork Sync #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fork Sync | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '*/5 * * * *' # every 5 minutes | |
jobs: | |
fork-sync: | |
name: Synchronize fork with upstream | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- uses: repo-sync/github-sync@v2 | |
name: sync branch with upstream | |
with: | |
source_repo: "splunk/public-o11y-docs" | |
source_branch: "main" | |
destination_branch: "pj-actions-fork-sync" | |
github_token: ${{ secrets.GITHUB_TOKEN }} |