Skip to content

Commit

Permalink
fix(update-schemas): workflow (#1896)
Browse files Browse the repository at this point in the history
  • Loading branch information
byashimov authored Nov 13, 2024
1 parent 85784bc commit 8ffb934
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update-schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
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
Expand Down

0 comments on commit 8ffb934

Please sign in to comment.