Fix: Release workflow now creates PR instead of direct commit

This commit is contained in:
Luis Padron 2022-01-06 15:11:05 -05:00
parent 52902fa9ee
commit cca4d80794
1 changed files with 4 additions and 5 deletions

View File

@ -49,9 +49,8 @@ jobs:
files: build/*
name: ${{ github.event.inputs.version }} - ${{ github.event.inputs.title }}
tag_name: ${{ github.event.inputs.version }}
- name: Commit CHANGELOG and Constants update
uses: stefanzweifel/git-auto-commit-action@v4
- name: Create pull-request for release changes
uses: peter-evans/create-pull-request@v3
with:
commit_message: "[CI] Update CHANGELOG and version for release ${{ github.event.inputs.version }}"
branch: main
file_pattern: CHANGELOG.md Sources/TuistSupport/Constants.swift
commit-message: "[Release] Tuist ${{ github.event.inputs.version }} - ${{ github.event.inputs.title }}"
base: main