Skip to content

Commit e7802aa

Browse files
rzadpTarekkMA
authored andcommitted
Add release version to commits and branch names of template synchronization job (paritytech#4353)
Just to have some information what is the release number that was used to push a particular commit or PR in the templates repositories.
1 parent 6b8859a commit e7802aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/misc-sync-templates.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ jobs:
148148
token: ${{ steps.app_token.outputs.token }}
149149
add-paths: |
150150
./*
151-
title: "[Don't merge] Update the ${{ matrix.template }} template"
151+
title: "[Don't merge] Update the ${{ matrix.template }} template to ${{ github.event.inputs.crate_release_version }}"
152152
body: "The template has NOT been successfully built and needs to be inspected."
153-
branch: "update-template/${{ github.event_name }}"
153+
branch: "update-template/${{ github.event.inputs.crate_release_version }}"
154154
- name: Push changes
155155
run: |
156156
git add -A .
157-
git commit --allow-empty -m "Update template triggered by ${{ github.event_name }}"
157+
git commit --allow-empty -m "Update to ${{ github.event.inputs.crate_release_version }} triggered by ${{ github.event_name }}"
158158
git push
159159
working-directory: "${{ env.template-path }}"

0 commit comments

Comments
 (0)