File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 2222 - name : Get version from payload
2323 id : version
2424 run : |
25- VERSION="${{ github.event.client_payload.version }}"
25+ # Support both repository_dispatch (client_payload) and workflow_dispatch (inputs)
26+ if [ -n "${{ github.event.inputs.version }}" ]; then
27+ VERSION="${{ github.event.inputs.version }}"
28+ else
29+ VERSION="${{ github.event.client_payload.version }}"
30+ fi
2631
2732 # Sanitize: remove newlines, carriage returns, and % characters to prevent injection
2833 VERSION=$(printf '%s' "$VERSION" | tr -d '\n\r%')
@@ -119,7 +124,7 @@ jobs:
119124 with :
120125 token : ${{ secrets.MEILI_BOT_GH_PAT }}
121126 commit-message : " chore(version): bump Meilisearch to ${{ steps.version.outputs.new_version }}"
122- title : " ⬆️ Bump Meilisearch to ${{ steps.version.outputs.new_version }}"
127+ title : " Bump Meilisearch to ${{ steps.version.outputs.new_version }}"
123128 body : |
124129 ## Description
125130
@@ -144,5 +149,6 @@ jobs:
144149 labels : |
145150 dependencies
146151 automated
152+ reviewers : brunoocasali
147153 delete-branch : true
148154
You can’t perform that action at this time.
0 commit comments