{"id":23997525,"url":"https://github.com/colinwilliams91/helpful-gh-automations","last_synced_at":"2026-07-09T14:31:19.301Z","repository":{"id":220893105,"uuid":"752785041","full_name":"colinwilliams91/helpful-gh-automations","owner":"colinwilliams91","description":"Strategy for keeping a separate branch that syncs with main","archived":false,"fork":false,"pushed_at":"2024-08-03T21:09:55.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T22:46:33.595Z","etag":null,"topics":["actions","agile","automation","devops","how-to","tutorial"],"latest_commit_sha":null,"homepage":"https://dev.to/colin-williams-dev/bridge-branch-strategy-with-github-actions-31ao","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/colinwilliams91.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-04T19:46:28.000Z","updated_at":"2024-08-03T21:09:58.000Z","dependencies_parsed_at":"2024-08-03T22:25:12.964Z","dependency_job_id":null,"html_url":"https://github.com/colinwilliams91/helpful-gh-automations","commit_stats":null,"previous_names":["colinwilliams91/helpful-gh-automations"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinwilliams91%2Fhelpful-gh-automations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinwilliams91%2Fhelpful-gh-automations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinwilliams91%2Fhelpful-gh-automations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinwilliams91%2Fhelpful-gh-automations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/colinwilliams91","download_url":"https://codeload.github.com/colinwilliams91/helpful-gh-automations/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240629207,"owners_count":19831806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","agile","automation","devops","how-to","tutorial"],"created_at":"2025-01-07T22:46:12.223Z","updated_at":"2025-10-31T03:52:29.387Z","avatar_url":"https://github.com/colinwilliams91.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Helpful GH Automations for Agile\n\n## GitFlow PR and Issue Templates:\n- This repository contains very simple outlines for PRs and New Issues\n- PRs\n  - Summary\n  - Repro\n  - References\n- Issues\n  - Summary\n  - References\n  - Solution\n\n## Actions:\n- This repository implements a strategy I developed for a \"Bridge Branch\"\n- The purpose of this \"Bridge-Branch\" is to act as an intermediary between feature development and `main`\n  - It requires clean code and intention as it bypasses PR and code review\n  - The concept is the \"Bridge\" should be highly isolated and not touch anything that other feature development may overwrite\n- The Actions work two-fold:\n  1. [auto_merge_bridge_to_main.yaml](https://github.com/colinwilliams91/helpful-gh-automations/actions/workflows/auto_merge_bridge_to_main.yaml) On push to designated \"Bridge-Branch, automatically merged to `main`\n  2. [auto_sync_main_to_bridge.yaml](https://github.com/colinwilliams91/helpful-gh-automations/actions/workflows/auto_sync_main_to_bridge.yaml) On any merge into `main`, changes are merged into \"Bridge-Branch\" to ensure no merge conflicts when the other Action fires\n\n## How to Use:\n- Bootstrap a repository from this template OR create a `.github/workflows` directory in your project root and copy/paste the two files I list below into it.\n- Navigate to your projects \"Settings\" view on Github\n- Click the \"Actions\" dropdown-section in the left-side toolbar\n- Scroll to \"Workflow permissions\" and toggle \"Read and write permissions\" and \"Allow GitHub Actions to create and approve pull requests\"\n  - You may need to perform this in the \"Organization Settings\" level above your repository if it is inside of one to establish default permissions across the group's repositories first\n- Create a branch parallel to `main` (like a `development` or `staging` branch) (this will be your \"Bridge-Branch\") on the remote\n- Plug the name of that branch into the places where `your-bridge-branch` exists in the [auto_merge_bridge_to_main.yaml](https://github.com/colinwilliams91/helpful-gh-automations/blob/main/.github/workflows/auto_merge_bridge_to_main.yaml) file\n- Plug the name of that branch into the places where `your-bridge-branch` exists in the [auto_sync_main_to_bridge.yaml](https://github.com/colinwilliams91/helpful-gh-automations/blob/main/.github/workflows/auto_sync_main_to_bridge.yaml) file\n\n## Test:\n- Create a new feature branch\n  - Make a small change like a \"hello world\" `.md`, `.sh` or any extremely simple file\n  - Push it to the remote\n  - Merge it into `main`\n- Checkout the \"Bridge-Branch\" you created to ensure those new changes are reflected on this branch as well\n- While checked out on the \"Bridge-Branch\"\n  - Make another small change\n  - Push that change to the remote \"Bridge-Branch\"\n- Checkout `main` to ensure those changes are reflected here\n\nYou should also be able to view the Actions working here: https://github.com/your-organization?/your-repo/actions or by clicking the Actions tab on the view for your repo on GH.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolinwilliams91%2Fhelpful-gh-automations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolinwilliams91%2Fhelpful-gh-automations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolinwilliams91%2Fhelpful-gh-automations/lists"}