Skip to content

Commit 82e0fcc

Browse files
Merge both sqlx jobs into one
1 parent c3c20e6 commit 82e0fcc

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/commit-sqlx-changes.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,8 @@ jobs:
6868
- name: Clean up the database
6969
run: docker compose down --volumes
7070

71-
create-pull-request:
72-
if: ${{ github.event.pull_request.merged }}
73-
needs: commit-sqlx-changes
74-
runs-on: ubuntu-latest
75-
steps:
7671
- name: Open pull request
77-
if: ${{ needs.commit-sqlx-changes.outputs.need_pr == '1' }}
72+
if: ${{ steps.sqlx_check.outputs.need_pr == '1' }}
7873
uses: peter-evans/create-pull-request@v7
7974
with:
8075
commit-message: Update SQLX files
@@ -83,6 +78,6 @@ jobs:
8378
signoff: false
8479
delete-branch: true
8580
branch: update-sqlx-pr-${{ github.event.pull_request.number }}
86-
title: Update SQLX files after #${{ github.event.pull_request.number }} changes
81+
title: Update SQLX files after \#${{ github.event.pull_request.number }} changes
8782
body: |
8883
Following #${{ github.event.pull_request.number }} changes, here are the related SQLX files changes.

0 commit comments

Comments
 (0)