11name : Release
2- true :
2+ on :
33 workflow_run :
44 workflows :
55 - CI
@@ -11,11 +11,13 @@ permissions:
1111jobs :
1212 check-and-release :
1313 runs-on : ubuntu-latest
14- if : ${{ github.event.workflow_run.head_branch == 'release' && github.event.workflow_run.conclusion
14+ if :
15+ ${{ github.event.workflow_run.head_branch == 'release' && github.event.workflow_run.conclusion
1516 == 'success' }}
1617 steps :
1718 - name : Log trigger information
18- run : ' echo "Triggered by workflow: ${{ github.event.workflow_run.name }}"
19+ run :
20+ ' echo "Triggered by workflow: ${{ github.event.workflow_run.name }}"
1921
2022 echo "Workflow status: ${{ github.event.workflow_run.conclusion }}"
2123
4143 id : release_details
4244 uses : actions/github-script@v7
4345 with :
44- script : " const commit_sha = \" ${{ github.event.workflow_run.head_sha }}\" \
46+ script :
47+ " const commit_sha = \" ${{ github.event.workflow_run.head_sha }}\" \
4548 ;\n const { owner, repo } = context.repo;\n\n // Try to find a PR associated\
4649 \ with this commit\n const prs = await github.rest.repos.listPullRequestsAssociatedWithCommit({\n \
4750 \ owner,\n repo,\n commit_sha,\n });\n\n let title = \"\" ;\n let body\
5861 with :
5962 tag_name : v${{ env.VERSION }}
6063 name : Release v${{ env.VERSION }}
61- body : ' ## ${{ steps.release_details.outputs.title }}
64+ body : " ## ${{ steps.release_details.outputs.title }}
6265
6366
6467 ${{ steps.release_details.outputs.body }}
@@ -69,10 +72,10 @@ jobs:
6972 You can find the compilation artifact downloads for all required platforms
7073 in the respective CI action execution artifacts.
7174
72- '
75+ "
7376 target_commitish : ${{ github.event.workflow_run.head_sha }}
7477 generate_release_notes : false
7578 draft : false
7679 prerelease : false
7780env :
78- FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 : ' true'
81+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 : " true"
0 commit comments