File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -56,11 +56,11 @@ jobs:
56
56
# uses: mxschmitt/action-tmate@v3
57
57
- name : Get metadata
58
58
run : |
59
- echo "COMMIT_SHA=${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV
59
+ echo "COMMIT_SHA=$(git rev-parse --short $ {{ github.event.pull_request.head.sha }}) " >> $GITHUB_ENV
60
60
echo "COMMIT_MESSAGE=$(git log -n 1 --pretty=format:%s ${{ github.event.pull_request.head.sha }})" >> $GITHUB_ENV
61
61
# - name: "BRANCH: ${{ github.ref_name }}"
62
62
# run: echo ""
63
- - name : " Current commit: ${{ env.COMMIT_MESSAGE }} ( ${{ env.COMMIT_SHA }}) "
63
+ - name : " Current commit: ${{ env.COMMIT_SHA }} - ${{ env.COMMIT_MESSAGE }}"
64
64
run : echo ""
65
65
# - name: "SHA: ${{ github.sha }}"
66
66
# run: echo ""
92
92
outputs :
93
93
dependency_cache_key : ${{ steps.compute_lockfile_hash.outputs.hash }}
94
94
95
+ job_metadata :
96
+ name : " Commit: ${{ env.COMMIT_SHA }} - ${{ env.COMMIT_MESSAGE }}"
97
+ runs-on : ubuntu-latest
98
+
95
99
job_build :
96
100
name : Build
97
101
needs : job_install_deps
You can’t perform that action at this time.
0 commit comments