size-label-action icon indicating copy to clipboard operation
size-label-action copied to clipboard

feat: add sizeLabel GITHUB_OUTPUT for further reuse in other jobs

Open mat3e opened this issue 1 year ago • 1 comments

I wanted my GitHub Workflow to comment in the PR (using https://github.com/thollander/actions-comment-pull-request) in case its size is too big.

I tried using github.event.pull_request.labels.*.name, but it contains a previous PR state (without a newly added size label), so I needed to be more proactive and added writing to GITHUB_OUTPUT file right from the Action script to capture the assigned sizeLabel.

mat3e avatar Nov 08 '23 17:11 mat3e

@pascalgn wdyt? :)

mat3e avatar Nov 08 '23 17:11 mat3e