Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add sizeLabel GITHUB_OUTPUT for further reuse in other jobs #44

Merged
merged 2 commits into from
Apr 16, 2024

Conversation

mat3e
Copy link
Contributor

@mat3e mat3e commented Nov 8, 2023

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
Copy link
Contributor Author

mat3e commented Nov 8, 2023

@pascalgn wdyt? :)

@mat3e mat3e changed the title Add sizeLabel GITHUB_OUTPUT for further reuse in other jobs feat: add sizeLabel GITHUB_OUTPUT for further reuse in other jobs Dec 28, 2023
@pascalgn pascalgn merged commit 15c9038 into pascalgn:main Apr 16, 2024
bloopy-boi bot referenced this pull request in h3mmy/bloopyboi Apr 16, 2024
….2 ) (#247)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[pascalgn/size-label-action](https://github.com/pascalgn/size-label-action)
| action | patch | `v0.5.1` -> `v0.5.2` |

---

### Release Notes

<details>
<summary>pascalgn/size-label-action
(pascalgn/size-label-action)</summary>

###
[`v0.5.2`](https://github.com/pascalgn/size-label-action/releases/tag/v0.5.2):
Release 0.5.2

[Compare
Source](https://github.com/pascalgn/size-label-action/compare/v0.5.1...v0.5.2)

#### What's Changed

- feat: use GITHUB_API_URL as baseUrl for octokit by
[@&#8203;fty4](https://github.com/fty4) in
[https://github.com/pascalgn/size-label-action/pull/43](https://github.com/pascalgn/size-label-action/pull/43)
- feat: add sizeLabel GITHUB_OUTPUT for further reuse in other jobs by
[@&#8203;mat3e](https://github.com/mat3e) in
[https://github.com/pascalgn/size-label-action/pull/44](https://github.com/pascalgn/size-label-action/pull/44)

#### New Contributors

- [@&#8203;fty4](https://github.com/fty4) made their first
contribution in
[https://github.com/pascalgn/size-label-action/pull/43](https://github.com/pascalgn/size-label-action/pull/43)
- [@&#8203;mat3e](https://github.com/mat3e) made their first
contribution in
[https://github.com/pascalgn/size-label-action/pull/44](https://github.com/pascalgn/size-label-action/pull/44)

**Full Changelog**:
pascalgn/size-label-action@v0.5.1...v0.5.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNSIsInVwZGF0ZWRJblZlciI6IjM3LjMwMS41IiwidGFyZ2V0QnJhbmNoIjoiZGV2IiwibGFiZWxzIjpbInJlbm92YXRlL2dpdGh1Yi1hY3Rpb24iLCJyZW5vdmF0ZS9naXRodWItcmVsZWFzZSIsInR5cGUvcGF0Y2giXX0=-->

Co-authored-by: bloopy-boi[bot] <98279278+bloopy-boi[bot]@users.noreply.github.com>
penchef pushed a commit to livelyhood/size-label-action that referenced this pull request May 24, 2024
…scalgn#44)

* Add sizeLabel GITHUB_OUTPUT for further reuse in other jobs

* Add sizeLabel GITHUB_OUTPUT for further reuse in other jobs

---------

Co-authored-by: Pascal <pascal.gruen@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants