From 57dabd3b0b952e7e08ad75d56d76d71afaf584ff Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 26 Apr 2023 13:15:30 -0500 Subject: [PATCH] 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. --- .github/workflows/publish-artifacts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-artifacts.yml b/.github/workflows/publish-artifacts.yml index 440ca99c52..ea3c321615 100644 --- a/.github/workflows/publish-artifacts.yml +++ b/.github/workflows/publish-artifacts.yml @@ -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" \ )