From b082c630222902a3188ca29a7e73cdb61e65a7e6 Mon Sep 17 00:00:00 2001 From: the-database <25811902+the-database@users.noreply.github.com> Date: Tue, 17 Dec 2024 13:25:00 -0500 Subject: [PATCH] Update schema.yml --- .github/workflows/schema.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/schema.yml b/.github/workflows/schema.yml index 56680aa3..3b3e29b0 100644 --- a/.github/workflows/schema.yml +++ b/.github/workflows/schema.yml @@ -46,13 +46,7 @@ jobs: run: | git push origin update-json-schema - # Create a pull request targeting master - - name: Create pull request - uses: peter-evans/create-pull-request@v7 - with: - title: "Update generated JSON schema" - body: "This PR updates the generated JSON schema." - branch: master - base: update-json-schema - committer: 'GitHub Actions ' - author: 'GitHub Actions ' + - name: Create PR + run: gh pr create --base master --head update-json-schema --title "Update generated JSON schema" --body "This PR updates the generated JSON schema." + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}