106 Commits
Author SHA1 Message Date
Josh Dales 29382eb4ff Build command 2023-03-25 17:42:44 -04:00
Josh Dales 62f22bdebe Run the build command 2023-03-25 17:24:52 -04:00
Josh Dales 49676461cb Run the build command 2023-03-24 22:29:57 -04:00
Josh Dales 5d0a66ed59 Run the build command again 2023-03-23 09:09:29 -04:00
Josh Dales 9bfc9998ab Run build and fix bad merge 2023-03-23 09:08:08 -04:00
Josh DalesandGitHub 8e6367ddee Merge branch 'main' into main 2023-03-23 09:02:46 -04:00
Adam AzarchsandGitHub 751921c443 fix: correct reading of sync-labels input. (#480)
* fix: correct reading of sync-labels input.

Contrary to the assumptions made in the unit tests, core.getInput
always returns a string, and !!'false' is true.

Also updates the unit test to reduce changes of regressions by ensuring
that the mocked getInput returns a string, as it would in production.

Fixes https://github.com/actions/labeler/issues/112

Make sure test catches regressions.

* Rebuild dist/index.js.
2023-03-23 10:47:14 +01:00
Milos PanticandGitHub 468a5e0250 Rebuild minimatch (#522)
* Rebuild minimatch and adapt changed interface

* Apply formatting

* Update minimatch license
2023-03-23 10:45:05 +01:00
Josh Dales 1c9c27e128 Run the build command 2023-03-20 21:53:16 -04:00
Josh Dales 7741e57c6a Run the build command 2023-03-18 17:16:58 -04:00
Josh DalesandGitHub 90ef37079a Merge branch 'actions:main' into main 2023-03-18 16:44:40 -04:00
Alexander KachkaevandGitHub 4a96e771de Merge branch 'main' into dot-option 2023-03-12 22:13:26 +00:00
IvanandGitHub 8d81f881dd Add and configure ESLint and update configuration for Prettier (#508)
* Add ESLint and update Prettier

* Rebuild action

* Update package.json
2023-03-09 15:02:17 +02:00
Josh DalesandGitHub 84e83a9b19 Merge branch 'main' into main 2023-03-08 18:10:37 -05:00
Michaël De BoeyandGitHub ba790c862c feat: default repo-token to github.token (#227)
* feat: default `repo-token` to `github.token`

* Update README.md

* Update labeler.ts

* Update index.js

* Update action.yml

* Update dist/index.js

* Update index.js

* Update dist/index.js
2023-03-07 12:25:56 +01:00
Josh Dales da83a1845f Make sure that the changed files config values are an array 2023-02-19 18:10:19 -05:00
Josh Dales ed31b27f2e Rename some functions and variables to match what they are doing 2023-02-19 16:46:14 -05:00
Josh Dales 09f085373a Fix some typos in the branch checks 2023-02-19 12:17:15 -05:00
Josh Dales b071d82cb8 Run the build command 2023-01-29 15:09:44 -05:00
Alexander Kachkaev 305cfeb74c Rebuild 2023-01-16 17:40:12 +00:00
Alexander Kachkaev 866eff55a5 Merge remote-tracking branch 'origin/main' into dot-option 2023-01-16 17:36:24 +00:00
Josh Dales 7b1327b4c4 Run the build command 2023-01-11 17:12:22 -05:00
Josh DalesandGitHub 7f8d8e472d Merge branch 'main' into main 2023-01-11 17:02:22 -05:00
MaksimZhukovandGitHub 36adcc2cb2 Update licenses and dependencies (#477) 2023-01-09 15:27:57 +01:00
IvanZosimov ce7f13552d Rebuild project 2022-12-19 17:18:39 +01:00
IvanZosimov e63db1786a Update licenses and rebuild action 2022-12-19 16:48:00 +01:00
Francesco Renzi d8fb392051 Update @actions/core to 1.10.0 2022-10-06 11:51:14 +01:00
Alexander Kachkaev d89797c51d Merge remote-tracking branch 'upstream/main' into dot-option 2022-09-14 14:54:45 +01:00
Josh Dales 0861fa5acc Run the build command 2022-08-30 17:24:00 -04:00
Josh DalesandGitHub 0ad789cf22 Merge branch 'main' into main 2022-08-29 20:37:19 -04:00
Cory Miller 493ae8a9ee re-build package 2022-08-11 15:43:30 -04:00
Alexander Kachkaev 6a0b7265cb Rebuild 2022-02-04 13:29:12 +00:00
Josh Dales 71fc664414 run the build script 2021-10-28 22:34:51 -04:00
Josh Dales 2246b667c6 Run build 2021-09-29 10:33:07 -04:00
Amiel Martin 2ced1f3255 Run build 2021-09-15 09:24:05 -08:00
Amiel Martin 8aa7614bc1 Run build 2021-09-15 09:16:56 -08:00
Josh Dales 765934f274 Run build 2021-08-07 15:26:22 -04:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Patrick Ellis
9b2da75f4b Bump @actions/github from 2.2.0 to 5.0.0 (#161)
* Bump @actions/github from 2.2.0 to 5.0.0

Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 2.2.0 to 5.0.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github)

---
updated-dependencies:
- dependency-name: "@actions/github"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* update licensed cache

* Code changes to support github 5.0

* regenerate dist/index

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Patrick Ellis <[email protected]>
2021-06-21 11:39:52 -04:00
Patrick Ellis b2730a2b56 regenerate dist/index.js 2021-06-17 15:17:17 -04:00
Patrick Ellis ecdb2919bd regenerate dist/index.js 2021-06-17 15:14:37 -04:00
Patrick Ellis d5a6e81a0b Merge branch 'main' into upgrade-js-yaml-to-4 2021-06-14 18:43:21 -04:00
Patrick Ellis 5235463eb5 Upgrade ncc to 0.28.6 2021-06-11 19:01:54 -04:00
Patrick Ellis 3424206184 Upgrade js-yaml to 4.0
The only code change is switching `safeLoad` (which was removed) for `load` (which is "safe" by default now)

https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md#400---2021-01-03
2021-06-11 18:54:48 -04:00
Patrick Ellis f0414a79d7 Upgrade Typescript to 4.3
Also necessitated upgrading ts-jest to 27.0 and jest to 26.0
2021-06-04 22:57:32 -04:00
Patrick Ellis c97a9580dd Update prettier to 2.3.0 and re-prettify everything
Gotta love those trailing commas!
2021-06-04 16:14:32 -04:00
Patrick Ellis 84a53dc124 Regenerate dist/index.js 2021-06-04 15:43:55 -04:00
Patrick Ellis f2e6c011a1 rebuild dist/index.js 2021-06-04 15:00:20 -04:00
David Kale 9042c970f2 Update zeit->vercel 2020-09-08 14:00:23 -04:00
David KaleandGitHub fa244eaba5 Paginate and remove old labels (#96)
* Paginate to get all changed files. Add option to remove labels

* build

* format and build
2020-09-08 13:09:16 -04:00
Jameel Al-AzizandGitHub efc1b29f09 Fix "any" matching when not all globs match (#75)
The previous logic had a bug where the "any" pattern list could match
against changed files even when not all globs matched a single changed
file. The bug arose individual globs in the "any" list were tested
against all changed files individually. Therefore, as long as at least
one changed file matched an individual glob in the list, a successful
match would be found.

The correct behavior is to match all the globs in the list against each
individual file. This ensures that is possible to define exlcusions
correctly and matched the documented behavior.
2020-06-19 10:55:47 -04:00