Skip to content

Commit 0e5c925

Browse files
committed
gha: create new PR if requested
1 parent 68cdb7b commit 0e5c925

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/lockfiles.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,3 +376,15 @@ jobs:
376376
run: |
377377
git commit -F "${COMMIT_MSG}"
378378
git push -u origin "${{ needs.pr.outputs.PR_REF }}"
379+
380+
- name: Create new PR
381+
if: ${{ inputs.pr == 'new' }}
382+
run: >
383+
gh pr create
384+
--base "${{ needs.pr.outputs.PR_BASE_REF }}"
385+
--title "pants generate-lockfiles: ${RESOLVES_CSV}"
386+
--body-file "${PR_COMMENT}"
387+
--reviewer "Maintainers"
388+
--assignee "${{ github.event.sender.login }}"
389+
--label "external dependency"
390+
--label "python3"

0 commit comments

Comments
 (0)