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 @@ -20,7 +20,7 @@ notifications:
2020# ## `last_status`
2121* Conclusion value of last workflow.
2222
23- See https://docs.github.com/en/rest/reference/ checks#create-a-check-run--parameters conclusion parameter.
23+ See https://docs.github.com/en/rest/checks/runs #create-a-check-run--parameters conclusion parameter.
2424
2525# # Example usage
2626
3030 runs-on: ubuntu-latest
3131 steps:
3232 - name: Get previous workflow status
33- uses: Mercymeilya/last-workflow-status@v0.3
33+ uses: Mercymeilya/last-workflow-status@v0.3.1
3434 id: last_status
3535 with:
3636 github_token: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -21,10 +21,11 @@ runs:
2121 if [[ ${GITHUB_EVENT_NAME} == "pull_request" ]]
2222 then
2323 echo "BRANCH_NAME=$(echo ${GITHUB_HEAD_REF} | tr / -)" >> $GITHUB_ENV
24+ echo "Branch name: ${GITHUB_HEAD_REF}"
2425 else
2526 echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/} | tr / -)" >> $GITHUB_ENV
27+ echo "Branch name: ${GITHUB_REF#refs/heads/}"
2628 fi
27- echo "Branch name: ${GITHUB_HEAD_REF}"
2829 - name : Get workflow id
2930 shell : bash
3031 run : |
You can’t perform that action at this time.
0 commit comments