File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ jobs:
122122 id : get_python_version
123123 run : bash "${GITHUB_WORKSPACE}/scripts/deploy_hato_bot/update_version_python_version/get_python_version.sh"
124124 env :
125- HEAD_REF : ${{github.head_ref}}
125+ HEAD_REF : ${{github.head_ref || github.event.release.tag_name }}
126126 - uses : dev-hato/actions-diff-pr-management@v1.1.1
127127 with :
128128 github-token : ${{secrets.GITHUB_TOKEN}}
@@ -153,7 +153,7 @@ jobs:
153153 - uses : actions/checkout@v3.1.0
154154 - run : bash "${GITHUB_WORKSPACE}/scripts/deploy_hato_bot/dockle/run_dockle.sh"
155155 env :
156- HEAD_REF : ${{github.head_ref}}
156+ HEAD_REF : ${{github.head_ref || github.event.release.tag_name }}
157157
158158 deploy-complete :
159159 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments