You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this GitHub Action in one of my workflows in order to retrieve and execute SQL scripts that were created during a previous job. However, I noticed that in one scenario of using this action, it retrieved the wrong GitHub artifact.
With the parameters that I used in my workflow, the action should only retrieve the artifacts that are associated with the current PR.
You specify the pr input, so in the action output you should have PR number and it's latest commit hash printed, but you don't. My wild guess is that ${{github.event.pull_request.number}} somehow evaluated to null or empty string.
I am using this GitHub Action in one of my workflows in order to retrieve and execute SQL scripts that were created during a previous job. However, I noticed that in one scenario of using this action, it retrieved the wrong GitHub artifact.
With the parameters that I used in my workflow, the action should only retrieve the artifacts that are associated with the current PR.
However, during one of its runs on PR #941 it appears to have retrieved an artifact that was associated with PR #956.
This is the workflow run from PR #941 that retrieved the incorrect artifact. The artifact it retrieved was
1057981208
.This is the artifact where it originally appears, as attached to a workflow related to a separate PR.
I will also be reaching out to GitHub directly to see if there is any more information that I can relay back to you.
The text was updated successfully, but these errors were encountered: