Skip to content

fix: Use list pull request files api#54

Merged
pascalgn merged 4 commits intopascalgn:mainfrom
levsa:fix/use_list_pull_request_files
Aug 25, 2024
Merged

fix: Use list pull request files api#54
pascalgn merged 4 commits intopascalgn:mainfrom
levsa:fix/use_list_pull_request_files

Conversation

@levsa
Copy link
Copy Markdown
Contributor

@levsa levsa commented Jul 18, 2024

and sum the changes for each file instead of parsing diff to solve the issue with max 300 files error from rest api.

Probably also solves #53 ?

@levsa levsa force-pushed the fix/use_list_pull_request_files branch from 8005bac to 7b85c60 Compare July 19, 2024 07:15
index.js Outdated
Comment on lines +171 to +172
console.log(typeof(pullRequestFiles));
console.log(pullRequestFiles);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll remove these leftovers.

and sum the changes for each file instead of parsing diff
to solve the issue with max 300 files error from rest api.
@levsa levsa force-pushed the fix/use_list_pull_request_files branch from 7b85c60 to dba23cd Compare July 23, 2024 09:27
@yahel2410
Copy link
Copy Markdown

Hey, what's the status here? can it be merged?

and sum the changes for each file instead of parsing diff
to solve the issue with max 300 files error from rest api.
and sum the changes for each file instead of parsing diff
to solve the issue with max 300 files error from rest api.
and sum the changes for each file instead of parsing diff
to solve the issue with max 300 files error from rest api.
@pascalgn
Copy link
Copy Markdown
Owner

Fixes #53

@pascalgn pascalgn merged commit 6bab7c4 into pascalgn:main Aug 25, 2024
@pascalgn
Copy link
Copy Markdown
Owner

Thanks for the PR, it's merged now! 👍

bloopy-boi bot referenced this pull request in h3mmy/bloopyboi Aug 25, 2024
….4 ) (#410)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v0.5.4`](https://togithub.com/pascalgn/size-label-action/releases/tag/v0.5.4):
Release 0.5.4

[Compare
Source](https://togithub.com/pascalgn/size-label-action/compare/v0.5.3...v0.5.4)

#### What's Changed

- Add HTTPS proxy support by
[@&#8203;donovanmuller](https://togithub.com/donovanmuller) in
[https://github.com/pascalgn/size-label-action/pull/28](https://togithub.com/pascalgn/size-label-action/pull/28)

#### New Contributors

- [@&#8203;donovanmuller](https://togithub.com/donovanmuller) made their
first contribution in
[https://github.com/pascalgn/size-label-action/pull/28](https://togithub.com/pascalgn/size-label-action/pull/28)

**Full Changelog**:
pascalgn/size-label-action@v0.5.3...v0.5.4

###
[`v0.5.3`](https://togithub.com/pascalgn/size-label-action/releases/tag/v0.5.3):
Release 0.5.3

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

#### What's Changed

- fix: Use list pull request files api by
[@&#8203;levsa](https://togithub.com/levsa) in
[https://github.com/pascalgn/size-label-action/pull/54](https://togithub.com/pascalgn/size-label-action/pull/54)

#### New Contributors

- [@&#8203;levsa](https://togithub.com/levsa) made their first
contribution in
[https://github.com/pascalgn/size-label-action/pull/54](https://togithub.com/pascalgn/size-label-action/pull/54)

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

</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://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Mi4xIiwidXBkYXRlZEluVmVyIjoiMzguNTIuMSIsInRhcmdldEJyYW5jaCI6ImRldiIsImxhYmVscyI6WyJyZW5vdmF0ZS9naXRodWItYWN0aW9uIiwicmVub3ZhdGUvZ2l0aHViLXJlbGVhc2UiLCJ0eXBlL3BhdGNoIl19-->

Co-authored-by: bloopy-boi[bot] <98279278+bloopy-boi[bot]@users.noreply.github.com>
mat3e added a commit to mat3e/size-label-action that referenced this pull request Oct 4, 2024
Seems since using files API in pascalgn#54, `IGNORED` stopped to work
mat3e added a commit to mat3e/size-label-action that referenced this pull request Oct 4, 2024
Seems since using files API in pascalgn#54, `IGNORED` stopped to work
mat3e added a commit to mat3e/size-label-action that referenced this pull request Oct 4, 2024
Seems since using files API in pascalgn#54, `IGNORED` stopped to work
mat3e added a commit to mat3e/size-label-action that referenced this pull request Oct 4, 2024
Seems since using files API in pascalgn#54, `IGNORED` stopped to work
mat3e added a commit to mat3e/size-label-action that referenced this pull request Oct 4, 2024
Seems since using files API in pascalgn#54, `IGNORED` stopped to work
@mat3e mat3e mentioned this pull request Oct 4, 2024
pascalgn added a commit that referenced this pull request Oct 23, 2024
* Fix ignored paths check

Seems since using files API in #54, `IGNORED` stopped to work

* Add test checking undefined path

* Add test checking undefined path

---------

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.

5 participants