Fix publishing artifacts from the main branch (#6290)
Previously an `event` filter was applied to lookup the merge queue's github run ID but this filter doesn't work after #6288. The filter isn't strictly necessary, though, so remove it.
This commit is contained in:
2
.github/workflows/publish-artifacts.yml
vendored
2
.github/workflows/publish-artifacts.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
sha=${{ github.sha }}
|
||||
run_id=$(
|
||||
gh api -H 'Accept: application/vnd.github+json' \
|
||||
/repos/${{ github.repository }}/actions/workflows/main.yml/runs\?event=push\&exclude_pull_requests=true \
|
||||
/repos/${{ github.repository }}/actions/workflows/main.yml/runs\?exclude_pull_requests=true \
|
||||
| jq '.workflow_runs' \
|
||||
| jq "map(select(.head_commit.id == \"$sha\"))[0].id" \
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user