Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 352705e

Browse filesBrowse files
authored
fix(component): Add check for workflow_run (espressif#10753)
1 parent 7298959 commit 352705e
Copy full SHA for 352705e

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎.github/workflows/upload-idf-component.yml

Copy file name to clipboardExpand all lines: .github/workflows/upload-idf-component.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
steps:
2121
- name: Get the release tag
2222
env:
23-
head_branch: ${{ github.event.inputs.tag || github.event.workflow_run.head_branch }}
23+
head_branch: ${{ inputs.tag || github.event.workflow_run.head_branch }}
2424
run: |
25-
if [ "${{ github.event.workflow_run.conclusion }}" != "success" ]; then
25+
if [ "${{ github.event.workflow_run.conclusion }}" != "success" ] && [ "${{ github.event_name }}" == "workflow_run" ]; then
2626
echo "Release workflow failed. Exiting..."
2727
exit 1
2828
fi

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.