Skip to content

Commit

Permalink
test: dummy conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
makafsal committed Jan 7, 2025
1 parent 260682e commit 19688a9
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions .github/workflows/create-release-tag-and-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,30 +54,7 @@ jobs:
- name: Attempt merge
id: merge-attempt
run: |
git merge origin/test-release-action
- name: Check for conflicts and resolve
if: failure() && steps.merge-attempt.outcome == 'failure'
run: |
# if [ $? -ne 0 ]; then
echo "Merge conflicts detected."
git add .
git commit -m "chore: before commit"
# Attempt to resolve conflicts using interactive rebase
git rebase -i origin/test-release-action
# Check for any remaining conflicts
git status
if [ $? -ne 0 ]; then
echo "Conflicts remain after rebase. Manual resolution required."
exit 0
fi
git add .
git commit -m "chore: resolved merge conflicts"
# fi
git merge origin/test-release-action -Xours || true
# Create PR with the new branch
- name: Create Pull Request
Expand Down

0 comments on commit 19688a9

Please sign in to comment.