automattic/Report artifact

Process and return artifact ID and URL in the output, with an additional report step to publish a comment or comment_status

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
github-tokenGitHub token to use to make requests to Github APIyes
artifact-nameName of the artifact to search for. If it's not found on the artifact list, the action will emit an error.no
report-onWhere to report to. Can be none, pull_request or commit_statusnonone
contextIf reportOn is commit_status, sets the value of the context that the commit_status refers to. The default value is ARTIFACT_NAME if not defined.no{{queriedArtifactName}} Download
messageMessage to put in the description or in the text of the issue. Any occurences of {{artifact.url}} will be replaced by the URL to download the artifact, and {{artifact.name}} will be replaced by the name of the artifactno{{#if artifact}}Click Details to download the artifact '{{ artifact.name }}'{{ else }}Artifact '{{ queriedArtifactName }}' not found{{/if}}
stateIf reportOn is commit_status, sets the value of the status of the commit_status, which should be success or failureno{{#if artifact}}success{{ else }}failure{{/if}}
target-urlIf reportOn is commit_status, sets the value of the URL of the commit_status details linkno{{#if artifact}}{{ artifact.url }}{{/if}}
target_urlDeprecated parameter. Use target-url instead.no
ignore-emptyIf true, will not publish anything if the artifact list is emptyno
namedescription
artifact_idID of the artifact referred by artifact-name
artifact_urlURL to download the artifact referred by artifact-name
artifact_listJSON containing list of artifacts detected