Skip to content

Commit

Permalink
#131 merging without strategy and no commit
Browse files Browse the repository at this point in the history
  • Loading branch information
vaadin-miki committed Jun 13, 2020
1 parent 164101c commit 05bdc6f
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/setversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,21 +61,19 @@ jobs:
git checkout ${{ github.event.ref }}
git config user.email "${{ secrets.EMAIL }}"
git config user.name "Miki (bot)"
git diff ${{ github.event.ref }} master
git merge master --strategy=ours --no-ff --no-commit -v --progress
git diff ${{ github.event.ref }} master
- name: Push resolved conflicts
uses: stefanzweifel/git-auto-commit-action@v4.1.6
with:
commit_message: "(bot) resolved conflicts from master (kept development-$${ steps.what-version.outputs.version }})"
branch: ${{ github.event.ref }}
- name: Create PR
uses: UnforgivenPL/pull-request@v1
with:
source: ${{ github.event.ref }}
target: master
repository: ${{ github.repository }}
token: ${{ secrets.ACTIONS_PAT }}
pr-title: Release ${{ steps.what-version.outputs.version }} ready
pr-body: Automatically created release ${{ steps.what-version.outputs.version }}.
pr-assignees: ${{ github.actor }}
git merge master --no-commit
# - name: Push resolved conflicts
# uses: stefanzweifel/git-auto-commit-action@v4.1.6
# with:
# commit_message: "(bot) resolved conflicts from master (kept development-$${ steps.what-version.outputs.version }})"
# branch: ${{ github.event.ref }}
# - name: Create PR
# uses: UnforgivenPL/pull-request@v1
# with:
# source: ${{ github.event.ref }}
# target: master
# repository: ${{ github.repository }}
# token: ${{ secrets.ACTIONS_PAT }}
# pr-title: Release ${{ steps.what-version.outputs.version }} ready
# pr-body: Automatically created release ${{ steps.what-version.outputs.version }}.
# pr-assignees: ${{ github.actor }}

0 comments on commit 05bdc6f

Please sign in to comment.