File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,16 @@ jobs:
2424 jq --join-output '(.lastpushid | tostring) as $pushid | empty, .pushes[$pushid].changesets[0]'
2525 )
2626 echo "MOZCENTRAL_VERSION=$COMMIT_HASH" >> $GITHUB_ENV
27+ echo "MOZCENTRAL_VERSION_SHORT=${COMMIT_HASH:0:7}" >> $GITHUB_ENV
2728 - name : Update `mozcentral.version` File
28- run : echo $MOZCENTRAL_VERSION > mozcentral.version
29+ run : echo -n $MOZCENTRAL_VERSION > mozcentral.version
2930 - name : Create Pull Request
3031 uses : peter-evans/create-pull-request@v6
3132 with :
3233 add-paths : mozcentral.version
3334 commit-message : |
3435 chore(deps): upgrade SpiderMonkey to `${{ env.MOZCENTRAL_VERSION }}`
35- branch : chore/upgrade-spidermonkey-to-${{ env.MOZCENTRAL_VERSION }}
36+ branch : chore/upgrade-spidermonkey-to-${{ env.MOZCENTRAL_VERSION_SHORT }}
3637 title : Upgrade SpiderMonkey to mozilla-central commit `${{ env.MOZCENTRAL_VERSION }}`
3738 body : |
3839 Changeset: https://hg.mozilla.org/mozilla-central/rev/${{ env.MOZCENTRAL_VERSION }}
Original file line number Diff line number Diff line change 1- d25c9bdacb64ae50779dc91f5919ca0189ad6c36
1+ bc4609b7aa7a3dff961f43d527bc66c5c85f6f4b
You can’t perform that action at this time.
0 commit comments