Skip to content

Commit 7bcb362

Browse files
authored
Update create-prs.yaml
1 parent 5368cd3 commit 7bcb362

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/create-prs.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,13 @@ jobs:
5656
run: |
5757
cd remote/${{ matrix.repo }}
5858
gh api graphql \
59+
-F REPO=${{ github.repository_owner }}/${{ matrix.repo }} \
60+
-F BRANCH=${{ env.BRANCH }} \
5961
-F SHA=$(git rev-parse HEAD) \
6062
-F MESSAGE="${{ env.PR_TITLE }}" \
6163
-F files[][path]="${{ env.FILE_TO_ADD }}" \
6264
-F files[][contents]=$(base64 -w0 ${{ env.FILE_TO_ADD }}) \
63-
-F query='mutation($SHA:GitObjectID!$MESSAGE:String!$files:[FileAddition!]!){createCommitOnBranch(input:{branch:{repositoryNameWithOwner:{owner}/{repo},branchName:{branch}},message:{headline:$MESSAGE},fileChanges:{additions:$files}expectedHeadOid:$SHA}){commit{url}}}'
65+
-F 'query=@../../.github/api/createSignedCommit.gql'
6466
env:
6567
GH_TOKEN: ${{ steps.generate_token.outputs.token }}
6668

0 commit comments

Comments
 (0)