All Projects โ†’ tgymnich โ†’ Fork Sync

tgymnich / Fork Sync

Licence: mit
๐Ÿ”„ Github action to sync your forks

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Fork Sync

Github Sync
โคต๏ธ A GitHub Action for syncing current repository with remote
Stars: โœญ 166 (+67.68%)
Mutual labels:  fork, sync
Pull
๐Ÿค– Keep your forks up-to-date via automated PRs
Stars: โœญ 3,364 (+3297.98%)
Mutual labels:  fork, sync
sync-fork
the quickest way to sync your fork: npx sync-fork
Stars: โœญ 15 (-84.85%)
Mutual labels:  sync, fork
Bitcore
BitCore (BTX) - Cryptocurrency 220 Byte Datacarriersize
Stars: โœญ 94 (-5.05%)
Mutual labels:  fork
Fabric Home Assistant
๐Ÿ“œ Deploy Home-Assistant easily with Fabric
Stars: โœญ 94 (-5.05%)
Mutual labels:  automation
Openidp
An open source platform to accelerate and scale DevOps adoption across the enterprise
Stars: โœญ 97 (-2.02%)
Mutual labels:  automation
Django Th
๐Ÿ Trigger Happy - The bus ๐ŸšŒ for your internet services
Stars: โœญ 1,356 (+1269.7%)
Mutual labels:  automation
Raspberry Pi Dramble
Raspberry Pi Kubernetes cluster that runs HA/HP Drupal 8
Stars: โœญ 1,317 (+1230.3%)
Mutual labels:  automation
Awesome React Generator
No more clicking around to create files in your react project! Awesome React Generator is Command Line Tool that let's you scaffold your components without leaving your terminal.
Stars: โœญ 98 (-1.01%)
Mutual labels:  automation
Ki
โŒ˜ Work in macOS like you work in vim <currently under construction>
Stars: โœญ 96 (-3.03%)
Mutual labels:  automation
Spincycle
Automate and expose complex infrastructure tasks to teams and services.
Stars: โœญ 95 (-4.04%)
Mutual labels:  automation
Aws Workflows On Github
Workflows for automation of AWS services setup from Github CI/CD
Stars: โœญ 95 (-4.04%)
Mutual labels:  automation
Slack Autoarchive
If there has been no activity in a channel for awhile, you can automatically archive it using a cronjob.
Stars: โœญ 97 (-2.02%)
Mutual labels:  automation
Gdrivesync.js
Javascript wrapper library for Google Drive API v3
Stars: โœญ 94 (-5.05%)
Mutual labels:  sync
Entitas Sync Framework
Networking framework for Entitas ECS. Targeted at turnbased games or other slow-paced genres.
Stars: โœญ 98 (-1.01%)
Mutual labels:  sync
Qa Checks V4
PowerShell scripts to ensure consistent and reliable build quality and configuration for your servers
Stars: โœญ 94 (-5.05%)
Mutual labels:  automation
Cointrol
เธฟ Bitcoin trading bot with a real-time dashboard for Bitstamp.
Stars: โœญ 1,351 (+1264.65%)
Mutual labels:  automation
Terraform Import Github Organization
Script to fully automate Terraform import of Github Org (teams, users, and repos)
Stars: โœญ 95 (-4.04%)
Mutual labels:  automation
Aethos
Automated Data Science and Machine Learning library to optimize workflow.
Stars: โœญ 94 (-5.05%)
Mutual labels:  automation
Whereareyou
Real time location tracker using Android App & Firebase with Mapbox
Stars: โœญ 96 (-3.03%)
Mutual labels:  automation

Fork Sync

Build Version

Github action to sync your Forks. This action uses octokit and the GitHub API to automatically create and merge a pull request with the head defined by head into the base defined by base. The head branch owner is defined by owner. If you create a PR in the same repository you can omit the owner parameter.

Example Workflow

name: Sync Fork

on:
  schedule:
    - cron: '*/30 * * * *' # every 30 minutes
  workflow_dispatch: # on button click

jobs:
  sync:

    runs-on: ubuntu-latest

    steps:
      - uses: tgymnich/[email protected]
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          owner: llvm
          base: master
          head: master

Auto approve

If you use a workflow which does not allow to merge pull requests without a review ("Require pull request reviews before merging" in your repo settings) you can set auto_approve to true. In that case you'll have to provide a personal access token for a user which is allowed to review the pull requests changes. Make sure the token has at least public_repo permissions and store the token inside of the repository secrets.

An example workflow would then look like this:

name: Sync Fork

on:
  schedule:
    - cron: '*/30 * * * *' # every 30 minutes
  workflow_dispatch: # on button click

jobs:
  sync:

    runs-on: ubuntu-latest

    steps:
      - uses: tgymnich/[email protected]
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          owner: llvm
          base: master
          head: master
          auto_approve: true
          personal_token: ${{ secrets.PERSONAL_TOKEN }}

Parameters

name Optional Default description
owner โœ… $current_repo_owner Owner of the forked repository
github_token โŒ Token to access the Github API
head โœ… master Head branch
base โœ… master Base branch
merge_method โœ… merge merge, rebase or squash
pr_title โœ… Fork Sync Title of the created pull request
pr_message โœ… Message of the created pull request
ignore_fail โœ… Ignore Exceptions
auto_approve โœ… * false Automatically approve pull request before merge
personal_token โœ… Usertoken for the user to auto approve the pull request

โš ๏ธ $current_repo_owner is your own username!

โš ๏ธ Only provide the branch name for head and base. user:branch will not work!

โš ๏ธ * if auto_approve is set to true you must provide the personal_token!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].