Ross Williams
7cb1e16d25
Add number_force that overrides pull_request number ( #1652 )
...
Test / test (push) Waiting to run
* Add number_force that overrides pull_request event
* Add number_force input and tests for PR #1652
Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
* Delete pullRequestNumber.test.ts; simplify config.test.ts
Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
* Rewrite config.test.ts to test real src/config.ts code, not a mock of it
Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
2026-03-13 21:46:05 +09:00
Copilot
14d4f1e429
Move validateExclusiveModes before getBody for fail-fast validation ( #1663 )
...
* Initial plan
* feat: refactor option validation to list-based approach and add delete+hide_and_recreate check
Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
* feat: add only_update to exclusive modes validation list
Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
* refactor: extract validation logic into src/validate.ts
Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
* refactor: move validateExclusiveModes before getBody in run()
Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
* test: assert getBody is not called when validateExclusiveModes fails
Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
2026-03-13 21:05:41 +09:00
marocchino
308b2fd250
Don't create a comment with hide: true ( #1661 )
2026-03-13 20:35:57 +09:00
Copilot
3bbec31446
Add comprehensive tests for main.ts covering all branches ( #1660 )
...
Test / test (push) Waiting to run
* Initial plan
* test: add comprehensive tests for main.ts covering all branches
Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
2026-03-13 20:04:30 +09:00
marocchino
faaf52818d
➕ jest to vitest
2025-04-11 07:17:55 +09:00
marocchino
cce8920b20
Migrate to biome
2025-04-09 21:26:34 +09:00
marocchino
182fb2a468
✅ Fix failed tests
2024-07-23 07:44:12 +09:00
marocchino
efaaab3fd4
📦 ️ build
2023-08-17 08:41:15 +09:00
Alex Burgel
e5439e773a
Add option to skip updating or recreating comments when message is unchanged
2023-08-14 12:51:55 -04:00
Alex Burgel
316d491c26
Update tests
2023-05-04 22:54:38 -04:00
marocchino
6be016636e
⏪ ️ Rollback base_url option
2023-04-21 16:24:04 +09:00
marocchino
292f33e766
🔧 baseUrl config
...
The `baseUrl`, which could be taken as an input, is required to use a custom GitHub Enterprise URL, for example.
2023-04-21 11:32:07 +09:00
marocchino
0bd1af949c
✨ owner option
2023-02-11 20:10:25 +09:00
marocchino
4b4f618262
✨ only update option
2023-02-11 20:01:26 +09:00
WebFreak001
42ddbbde39
fix tests
2023-02-09 18:44:35 +01:00
Sam
db01d1ad6c
Add ignore empty input
2022-10-25 21:49:30 +00:00
Sam
1d46172340
Use glob for path param
...
This was done such that multiple files
can be loaded that match given glob
patterns. Existing behaviour is preserved
for exact match.
2022-10-25 01:09:35 +00:00
marocchino
568d4dba14
🙈 ignore lib
2021-12-02 07:21:48 +09:00
marocchino
39c5b5dc77
✨ minimize comment ( #472 )
...
* ✨ minimize comment
* ✨ hide, hide_and_recreate, hide_classify option
* ✅ update config test
2021-10-21 02:20:24 +09:00
marocchino
3c38ed8cd4
🐛 fix find issue
2021-10-21 01:20:15 +09:00
marocchino
1a8e0448ba
🐛 ♻️ paging support & use graphql ( #471 )
...
* 🐛 ♻️ paging support & use graphql
* 🚀 build
* 🚨 ignore eslint
2021-10-20 22:19:58 +09:00
marocchino
21a90c1106
Hide details ( #435 )
...
* ✨ hide details
* 📦 build
* 👷 ci for hide_details option
2021-09-29 03:15:07 +09:00
marocchino
1f3d2a6328
test: noImplicitAny
2021-08-14 09:48:10 +09:00
Rob Cowsill
65b0a353cc
Fix: Ignore other users' comments ( #332 )
...
Make findPreviousComment only return comments made by the current user
(usually github-actions[bot])
2021-06-15 03:25:28 +09:00
marocchino
6ee941ecc7
style: 💄 lint error
2021-05-31 15:32:58 +09:00
dependabot[bot]
7874cc39cf
build(deps): bump @actions/github from 4.0.0 to 5.0.0 ( #305 )
...
* build(deps): bump @actions/github from 4.0.0 to 5.0.0
Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github ) from 4.0.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 )
Signed-off-by: dependabot[bot] <support@github.com>
* fix: Update @action/github 5
* build: new deps & rest fix
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: marocchino <marocchino@users.noreply.github.com>
2021-05-30 10:50:41 +09:00
marocchino
21998583f4
build: Rebuild with new deps
2021-05-30 10:31:00 +09:00
marocchino
322a2451da
refactor: several improvements ( #262 )
...
- more tests
- file read in config
- reduce if depth
- reduce unnecessary requests
2021-03-27 12:13:51 +09:00
marocchino
56ac27318d
refactor: extract config ( #257 )
...
* refactor: extract config
* test: mock dynamic value
2021-03-22 09:39:18 +09:00
marocchino
d344d61a6d
update test
2021-02-25 16:23:13 +09:00
Sebass van Boxel
286dc15e40
Added specs for when comment body is empty
2020-11-04 22:21:20 +01:00
marocchino
8cea69fb3f
Merge branch 'master' into replace-option
2020-06-25 14:51:01 +09:00
Jake Hiller
a4ce3ea5b0
update tests
2020-06-25 01:30:25 -04:00
Jake Hiller
1ee5fc7fa0
update hidden identifier comment to come last instead of first
2020-06-25 01:26:22 -04:00
Jake Hiller
0ce3e0c6ca
rename test, remove duplicate tests
2020-06-23 11:49:06 -04:00
Jake Hiller
2f6d0e21be
add option to delete the previous comment and create a new one
2020-06-23 11:45:02 -04:00
Simon Stender Boisen
168a45153d
feat: append to previous comment message
2020-03-26 14:30:28 +01:00
marocchino
c873eaf14f
feat: add ability to set custom header
2020-02-04 17:19:50 +09:00
marocchino
0c015d9eea
test: find & write with comment header
2019-11-23 10:44:03 +09:00
marocchino
eba69144ce
test: comment
2019-11-23 10:12:15 +09:00
marocchino
cb9470fc12
feat: actual logic
2019-11-21 09:57:13 +09:00
marocchino
cce71e2a2d
Initial commit
2019-11-21 08:05:13 +09:00