Open jamesBennett opened 1 year ago
Here's my download
uses: dawidd6/action-download-artifact@v2 with: github_token: ${{ secrets.GITHUB_TOKEN }} workflow: ci.yml commit: ${{ github.event.pull_request.head.sha }} name: artifactKey path: ./manifest
This just seems to grab the last artifact created despite a merge or branch.
I don't understand the problem. Please elaborate.
the calling workflow needs to be triggered by a pull_request_target event in order for this to work. github.event.pull_request isn't set for push events.
pull_request_target
github.event.pull_request
push
Here's my download
This just seems to grab the last artifact created despite a merge or branch.