We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4884c96 commit bcaeb32Copy full SHA for bcaeb32
.github/workflows/upload-idf-component.yml
@@ -20,9 +20,9 @@ jobs:
20
steps:
21
- name: Get the release tag
22
env:
23
- head_branch: ${{ github.event.inputs.tag || github.event.workflow_run.head_branch }}
+ head_branch: ${{ inputs.tag || github.event.workflow_run.head_branch }}
24
run: |
25
- if [ "${{ github.event.workflow_run.conclusion }}" != "success" ]; then
+ if [ "${{ github.event.workflow_run.conclusion }}" != "success" ] && [ "${{ github.event_name }}" == "workflow_run" ]; then
26
echo "Release workflow failed. Exiting..."
27
exit 1
28
fi
0 commit comments