chiranjib-swain
fb8819b7f3
Update dependencies and improve error handling in getPullRequests function
2025-11-13 14:02:30 +05:30
Chiranjib Swain
25abb3cad4
Improve Labeler Action Documentation and Error Handling for Permissions ( #897 )
...
* Update README.md and labeler.ts to clarify permissions for GitHub Labeler Action
* Update dist/index.js with latest build changes
* Update README.md to clarify manual label creation as an alternative to granting issues write permission
* Fix labeler error handling to ensure case-insensitive check for unauthorized access
* Refactor error handling in labeler to throw an error for unauthorized access instead of logging
* Add tests for labeler error handling and improve error reporting
2025-09-19 14:46:04 -05:00
dependabot[bot]
395c8cfdb1
Bump brace-expansion from 1.1.11 to 1.1.12 and document breaking changes in v6 ( #877 )
...
* Bump brace-expansion from 1.1.11 to 1.1.12
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion ) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases )
- [Commits](https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.12 )
---
updated-dependencies:
- dependency-name: brace-expansion
dependency-version: 1.1.12
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
* documentation update and check failure fix
* doc update
* doc updates
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com >
2025-09-16 13:25:22 -05:00
dependabot[bot]
b0a1180683
Bump @octokit/request-error from 5.0.1 to 5.1.1 ( #846 )
...
* Bump @octokit/request-error from 5.0.1 to 5.1.1
Bumps [@octokit/request-error](https://github.com/octokit/request-error.js ) from 5.0.1 to 5.1.1.
- [Release notes](https://github.com/octokit/request-error.js/releases )
- [Commits](https://github.com/octokit/request-error.js/compare/v5.0.1...v5.1.1 )
---
updated-dependencies:
- dependency-name: "@octokit/request-error"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
* check failures fix
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com >
2025-07-29 12:08:39 -05:00
dependabot[bot]
bee50fefe1
Bump undici from 5.28.4 to 5.28.5 ( #842 )
...
* Bump undici from 5.28.4 to 5.28.5
Bumps [undici](https://github.com/nodejs/undici ) from 5.28.4 to 5.28.5.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.28.4...v5.28.5 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix Failures
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com >
2025-06-10 15:29:08 -05:00
dependabot[bot]
5184940b54
Bump @vercel/ncc from 0.38.1 to 0.38.3 ( #830 )
...
* Bump @vercel/ncc from 0.38.1 to 0.38.3
Bumps [@vercel/ncc](https://github.com/vercel/ncc ) from 0.38.1 to 0.38.3.
- [Release notes](https://github.com/vercel/ncc/releases )
- [Commits](https://github.com/vercel/ncc/compare/0.38.1...0.38.3 )
---
updated-dependencies:
- dependency-name: "@vercel/ncc"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix-check failures also
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com >
2025-02-13 14:38:51 -06:00
HarithaVattikuti
3629d5568b
Document update - permission section ( #840 )
...
* Update Section
* Update warning
2025-01-16 08:46:55 -06:00
dependabot[bot]
a261db4c87
Bump typescript from 5.4.3 to 5.7.2 ( #819 )
...
* Bump typescript from 5.4.3 to 5.7.2
Bumps [typescript](https://github.com/microsoft/TypeScript ) from 5.4.3 to 5.7.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.4.3...v5.7.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* npm run build
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com >
2024-12-17 11:23:00 -06:00
dependabot[bot]
5838aad63e
Bump @actions/core from 1.10.1 to 1.11.1 ( #811 )
...
* Bump @actions/core from 1.10.1 to 1.11.1
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core ) from 1.10.1 to 1.11.1.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core )
---
updated-dependencies:
- dependency-name: "@actions/core"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* npm run build
* licensed cache
* licensed cache
* licensed
* licensed check failure fix
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com >
2024-12-16 08:39:04 -06:00
dependabot[bot]
98d12e7f87
Bump minimatch from 9.0.3 to 10.0.1 ( #805 )
...
* Bump minimatch from 9.0.3 to 10.0.1
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 9.0.3 to 10.0.1.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v9.0.3...v10.0.1 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* check failues fix
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com >
2024-12-12 21:22:05 -06:00
dependabot[bot]
70db055cd5
Bump braces from 3.0.2 to 3.0.3 ( #789 )
...
* Bump braces from 3.0.2 to 3.0.3
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump undici from 5.28.3 to 5.28.4.
* License update
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com >
2024-09-17 09:45:00 -05:00
dependabot[bot]
506e1a00c6
Bump undici from 5.26.5 to 5.28.3 ( #757 )
...
* Bump undici from 5.26.5 to 5.28.3
Bumps [undici](https://github.com/nodejs/undici ) from 5.26.5 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.26.5...v5.28.3 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix check failures
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com >
2024-04-04 11:04:15 -05:00
MaksimZhukov
cb66c2f078
Update dist
2023-10-31 13:39:41 +01:00
MaksimZhukov
9181355e36
Apply suggestions for the beta vesrion and update the documentation
2023-10-31 13:09:20 +01:00
MaksimZhukov
ab7411ec21
Change version of Node.js runtime to node20
2023-10-25 14:25:13 +02:00
MaksimZhukov
917e5cce72
Merge branch 'main'
2023-10-24 12:11:31 +02:00
Nikolai Laevskii
df65a7144a
Use lodash's isEqual
2023-10-04 11:23:34 +02:00
Nikolai Laevskii
27ee87f076
Update naming
2023-09-25 15:28:47 +02:00
MaksimZhukov
f4eefdc659
[Beta] Implement the new structure of the match object for the changed-files section ( #680 )
...
* Implement the new structure of the match object for changed files section
* Replace inner loops with the find method
2023-09-20 13:43:39 +02:00
Nikolai Laevskii
c40a0983dc
Update bild
2023-08-02 06:53:28 +02:00
TrianguloY
5bb656d641
Fix double negation message typo ( #629 )
...
* Fix double negation typo
* Rebuild index.js
2023-07-31 14:42:10 +02:00
Dusan Trickovic
68124ad53a
Update Minimatch to 9.0.3, rebuild and fix licensing ( #626 )
2023-07-26 13:23:55 +02:00
MaksimZhukov
ac9175f8a1
Bump @octokit/plugin-retry from 5.0.4 to 5.0.5 ( #610 )
2023-07-10 13:01:42 +02:00
Nathan Hammond
be13bbd1b7
Early exit when no files are changed. ( #456 )
...
* Early exit when no files are changed.
As a consequence of the `checkAll` function call returning `true` if the length of `changedFiles` is 0, this must early-exit in order to avoid labeling empty PRs.
* Update dist.
* Update for new code styles.
* review changes requested
* Update dist.
* chore: prettify code
---------
Co-authored-by: MaksimZhukov <maksimzhukov@github.com >
Co-authored-by: IvanZosimov <ivanzosimov@github.com >
2023-07-07 16:35:16 +02:00
Liam Stanley
994304c5d5
feat(config): support reading from local file if it exists ( #394 )
...
* feat(config): support reading from local file if it exists
Signed-off-by: Liam Stanley <me@liamstanley.io >
* fix: fix review point, update logic
* docs: update readme
* docs: update readme
* feat: add additional logging
* chore: update licenses
* docs: fix review point in readme.md
---------
Signed-off-by: Liam Stanley <me@liamstanley.io >
Co-authored-by: IvanZosimov <ivanzosimov@github.com >
2023-07-07 12:44:54 +02:00
Mark Ridgwell
327d35fdca
Added ability to pass in an optional PR number as a parameter ( #349 )
...
* Adding pr-number as an optional parameter
* Updated README
* Tests on the pr-number parameter
* Added missing | to table
* re-built script
* Adding support for multiple pr-numbers
* excluded .idea
* Updated readme to reflect that there might be more than one PR
* Additional warning
* Removed unused
* Reformatted and re-built
* Corrected message
* Removed required check
* Added (s) to pull request numbers in the description
Co-authored-by: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com >
* Reworded PR-number parameter description
Co-authored-by: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com >
* adding getMultilineInput into the tests
* Fixing tests for single pr
* Fixing tests for multiple prs
* Updated README.md to make it more obvious that it can take a list of PRs
* Added example that labels PR's 1-3
* Handled no pull requests better (from code review)
* Handled no pull requests better (from code review)
* Handled missing pull request better (from code review)
* Back out suggested change as it broke the tests
* Rebuilt dist
* Update src/labeler.ts
Co-authored-by: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com >
* Added Emphasis to the note
Co-authored-by: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com >
* Changed mockInput for pr-number to be string[]
---------
Co-authored-by: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com >
2023-07-06 17:10:50 +02:00
Lukas Hennies
e3c0d9b6cc
Improved Error message for missing config file ( #475 )
...
* error message for missing config
* chore: formatting and index js
* chore: update json5
* changes from cr
Co-authored-by: AndreiLobanovich <andreilobanovich@github.com >
* chore: recreate dist.js
* chore: revert package-lock
* chore: newline fix
---------
Co-authored-by: AndreiLobanovich <andreilobanovich@github.com >
2023-06-30 12:09:04 +02:00
Daniel Shteremberg
0967ca812e
Added output ( #60 )
...
* Added output
* removed formatting changes
* more formatting changes
* Fix merge conflicts
* Small test refactoring
* tests are passing
* Add a test
* Add a small jest mock for addLabels. Not used.
* Add tests for more cases
* get rid of an unused jest mock
* fix review points
* rebuild + minor README fix
* fix review points
* update tests
* fix formatting
* add tests, fix bug
* cleanup
---------
Co-authored-by: Daniel Shteremberg <dshteremberg@labelbox.com >
Co-authored-by: Daniel Shteremberg <Daniel@Daniel-Shterembergs-MacBook-Pro.local >
Co-authored-by: Patrick Ellis <patrick.j.ellis@gmail.com >
Co-authored-by: Andrey Lobanovich <andrei.lobanovich@akvelon.com >
2023-06-29 12:45:24 +02:00
MaksimZhukov
375538a703
Bump @octokit/plugin-retry from 5.0.2 to 5.0.4 ( #599 )
2023-06-28 13:52:50 +02:00
Mark Massoud
7a202e6428
fix: Limit number of labels added to 100 ( #497 )
...
* push to excess labels to avoid reaching the limit
* build dist
* never set more than 100 labels
* use splice instead of set
* ignore IDE folders
* install @octokit/plugin-retry
* always setLabels
* fix indentations
* fix specs
* add spec for excess labels
* prettier
* licensed cache
* revert to !!core.getInput('sync-labels')
* better warning for exceeded labels
* keep manually-added labels
* nest the dedupe logic
* rename `removeLabel` to `removeLabelFromList` to avoid confusion
* use Sets, and issue a call only if labels have actually changed
* remove IDE config folders from gitignore
* remove obsolete duplucation check
---------
Co-authored-by: Mark Massoud <mark@unrealcloud.io >
2023-06-21 11:49:43 +02:00
Josh Soref
b5ff161cf0
Explain misconfigured workflow ( #405 )
...
Fixes #136
2023-06-19 13:07:00 +02:00
Alexander Kachkaev
639ba81ab1
Rebuild
2023-05-31 18:46:34 +01:00
Alexander Kachkaev
59d3310a72
Rebuild
2023-05-31 17:32:09 +01:00
Alexander Kachkaev
e3b3815c8d
Further diff reduction
2023-05-31 01:54:22 +01:00
Alexander Kachkaev
673c7e22a7
Rebuild
2023-05-31 01:50:27 +01:00
Alexander Kachkaev
97762039fe
Update build
2023-05-31 01:46:05 +01:00
Alexander Kachkaev
cecbd94bd4
Merge remote-tracking branch 'u/main' into dot-option
2023-05-31 01:35:46 +01:00
MaksimZhukov
26342ba349
fix: correct reading of sync-labels input
2023-05-24 12:21:33 +02:00
MaksimZhukov
e1fcf6fe5b
Merge pull request #203 from joshdales/main
...
Assigns labels based on branch names
2023-05-24 12:01:55 +02:00
MaksimZhukov
5c4deb8a24
Revert "fix: correct reading of sync-labels input. ( #480 )" ( #564 )
...
This reverts commit 751921c443 .
2023-05-23 19:06:03 +02:00
Josh Dales
57d34076e0
Better check for empty configs in checkAll
2023-05-17 07:05:19 -04:00
Josh Dales
a256a58edf
Add check for empty objects in checkAll
2023-05-15 10:45:56 -04:00
Josh Dales
a5bed11d4d
Run the build command
2023-05-11 17:02:27 -04:00
Josh Dales
9488def29a
Update tests and build
2023-05-05 08:58:23 -04:00
Josh Dales
c1b0ca76ee
Run the build command
2023-04-13 15:02:40 -04:00
Josh Dales
2f1dfd1ef0
Adjust the indenting again
2023-03-27 17:15:14 -04:00
Josh Dales
b1a2f85ed8
Update debugging indentation on the branch checks
2023-03-27 16:37:55 -04:00
Josh Dales
67604ee822
Update more debugging statements
2023-03-27 16:26:58 -04:00
Josh Dales
4be192c7d6
Run the build command
2023-03-27 16:23:04 -04:00
Alexander Kachkaev
a7cc8a62ef
Fix
2023-03-27 09:47:52 +01:00