File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed
Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 2222 - name : Changed diff-tree
2323 id : changed
2424 uses : ./
25- with :
26- working-directory : tests/${{ matrix.test }}
27-
28- - name : Tag release version
29- env :
30- GH_TOKEN : ${{ github.token }}
31- GH_TAG : ${{ github.event.release.tag_name}}
32- run : |
33- version=${GH_TAG%%.*}
34- gh api /repos/${{ github.repository }}/git/refs/tags/${version} --method PATCH --silent --field sha="${GITHUB_SHA}" --field force=true || \
35- gh api /repos/${{ github.repository }}/git/refs --method POST --silent --field sha="${GITHUB_SHA}" --field ref="refs/tags/${version}"
Original file line number Diff line number Diff line change @@ -31,9 +31,11 @@ inputs:
3131 source_ref :
3232 required : false
3333 description : " Source branch or commit SHA to compare from."
34+ default : " "
3435 target_ref :
3536 required : false
3637 description : " Target branch or commit SHA to compare against."
38+ default : " "
3739 format :
3840 required : false
3941 description : " Format output as: 'raw', 'json', or 'matrix'."
You can’t perform that action at this time.
0 commit comments