Skip to content

Commit

Permalink
Merge branch 'main' into feat/ATL-6832-zio-failures-and-defects-in-en…
Browse files Browse the repository at this point in the history
…tity-controller
  • Loading branch information
bvoiturier authored Jun 20, 2024
2 parents 71a51cf + 833d6f4 commit 825cca2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 37 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Auto Merge Main into Feature Branch

on:
pull_request:
types: [ opened, synchronize, reopened, labeled ]
types: [opened, synchronize, reopened, labeled]

jobs:
auto-merge:
Expand Down Expand Up @@ -34,13 +34,17 @@ jobs:
git config --global user.email '${{ steps.import_gpg.outputs.email }}'
- name: Fetch all branches
run: git fetch --all
run: git fetch origin

- name: Checkout the feature branch
run: git checkout ${{ github.event.pull_request.head.ref }}

- name: Merge main into feature branch
run: git merge origin/main
run: git merge --squash origin/main

- name: Commit changes
run: git commit -S -s -m "Merge main into ${{ github.event.pull_request.head.ref }}"
if: success()

- name: Push changes
run: git push origin ${{ github.event.pull_request.head.ref }}
Expand Down Expand Up @@ -72,4 +76,4 @@ jobs:
repo: context.repo.repo,
issue_number: prNumber,
body: 'The main branch cannot be merged into the feature branch without your help :cry:'
});
});
33 changes: 0 additions & 33 deletions .github/workflows/ff-merge.yml

This file was deleted.

0 comments on commit 825cca2

Please sign in to comment.