From 8ffb934681069a712c6e23d2d0649b62e8ba3c0f Mon Sep 17 00:00:00 2001 From: Murad Biashimov Date: Wed, 13 Nov 2024 15:13:59 +0100 Subject: [PATCH] fix(update-schemas): workflow (#1896) --- .github/workflows/update-schemas.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-schemas.yml b/.github/workflows/update-schemas.yml index dc5be2345..93866e7d3 100644 --- a/.github/workflows/update-schemas.yml +++ b/.github/workflows/update-schemas.yml @@ -27,14 +27,15 @@ jobs: - id: date run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT - id: changes - run: echo "changes=$(git diff CHANGELOG.md | awk '/^\+[ -]/ {print substr($0, 2)}')" >> $GITHUB_OUTPUT + run: git diff CHANGELOG.md | awk '/^\+[ -]/ {print substr($0, 2)}' > changes.out - id: create_pr uses: peter-evans/create-pull-request@v7 with: author: GitHub - body: ${{ steps.changes.outputs.changes }} + body-path: changes.out branch: update/${{ steps.date.outputs.date }}-${{ github.run_id }} commit-message: "chore(update): update schemas (${{ steps.date.outputs.date }})" + title: "chore(update): update schemas (${{ steps.date.outputs.date }})" labels: | dependencies - name: Close previous update PRs