Shared GitHub Actions workflows and configurations for the organization.
Automates the creation of a conflict-resolution branch and PR when merge-back PRs (e.g., canary => dev) have conflicts.
How it works:
- Add the
resolve-conflictslabel to a conflicted merge-back PR - The workflow creates a new branch from the source branch (e.g.,
canary) - It attempts to merge the target branch (e.g.,
develop) into it - A new PR is opened targeting the base branch, with instructions for manual resolution if needed
- The original PR is commented with a link to the resolution PR
Caller workflow — add this to each repo that needs it:
name: Resolve Merge Conflicts
on:
pull_request:
types: [labeled]
jobs:
resolve-conflicts:
if: github.event.label.name == 'resolve-conflicts'
uses: talktala/lahore/.github/workflows/resolve-merge-conflicts.yml@main
with:
pr_number: ${{ github.event.pull_request.number }}
head_branch: ${{ github.event.pull_request.head.ref }}
base_branch: ${{ github.event.pull_request.base.ref }}
secrets: inheritRequired secrets: GIT_TOKEN (PAT with repo access)
Validates PR titles match the organization's naming conventions.
Auto-labels JIRA tickets when PRs are merged to protected branches.
Creates/updates Qovery environments for MIME epic branches.
Cleans up Qovery environments when MIME branches are deleted.