Skip to content

Commit

Permalink
added merge release sync to dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Foroxon committed Jan 18, 2024
1 parent 7add9f3 commit 05b0ec1
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ on:
description: 'Release title'
required: true
type: string
release-notes:
description: 'Release notes'
required: true
type: string
jobs:
release_firmware:
if: ${{ github.ref_name == 'master' }}
Expand Down Expand Up @@ -42,17 +38,16 @@ jobs:
uses: ncipollo/release-action@v1
with:
artifacts: ${{ github.workspace }}/bin/${{ github.event.inputs.release-version }}.bin
name: ${{ github.event.inputs.release-version }} ${{ github.event.inputs.release-title }}
name: "${{ github.event.inputs.release-version }}: ${{ github.event.inputs.release-title }}"
commit: ${{ steps.commit_changes.outputs.commit_hash }}
tag: ${{ github.event.inputs.release-version }}
body: ${{ github.event.inputs.release-notes }}
generateReleaseNotes: true
allowUpdates: true
- name: Create Sync PR
uses: peter-evans/create-pull-request@v3
- name: Merge master -> develop
uses: devmasx/merge-branch@master
with:
title: "Sync release ${{ github.event.inputs.release-version }} to develop"
body: "Sync ${{ github.event.inputs.release-version }} to develop"
branch: "develop"
base: "master"
labels: "sync"
type: now
target_branch: develop
message: Sync Release ${{ github.event.inputs.release-version }} to develop
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 05b0ec1

Please sign in to comment.