-
Notifications
You must be signed in to change notification settings - Fork 232
Description
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.
- name: Download Resource Deployment Scripts
id: download-artifact
uses: dawidd6/action-download-artifact@v2
with:
workflow_conclusion: success
pr: ${{github.event.pull_request.number}}
name: sql-script
check_artifacts: false
if_no_artifact_found: fail
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.