Ensure that proxy log artifacts have unique names by mbg · Pull Request #3409 · github/codeql-action (original) (raw)

The post action for start-proxy uploads the authentication proxy's logs in debug mode. However, it currently uses a fixed name for this (always proxy-log-file). This is a problem in e.g. matrix'ed workflows where multiple CodeQL jobs may want to upload the respective proxy logs.

This PR lightly refactors our existing code for uploading debug artifacts, where we already address this problem for other debug artifacts, so that the same functions can then be used for the start-proxy post action.

Risk assessment

For internal use only. Please select the risk level of this change:

Which use cases does this change impact?

Workflow types:

Products:

Environments:

How did/will you validate this change?

If something goes wrong after this change is released, what are the mitigation and rollback strategies?

How will you know if something goes wrong after this change is released?

Are there any special considerations for merging or releasing this change?

Merge / deployment checklist