Commit graph

34 commits

Author SHA1 Message Date
dependabot[bot]
136dcf90b9
build(deps-dev): Bump typescript from 4.3.5 to 4.4.2 (#401)
* build(deps-dev): Bump typescript from 4.3.5 to 4.4.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.5 to 4.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.5...v4.4.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* ♻️ guard error object

https://devblogs.microsoft.com/typescript/announcing-typescript-4-4/#use-unknown-catch-variables

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: marocchino <marocchino@users.noreply.github.com>
2021-08-31 03:44:02 +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
51f328e21a
Use getBooleanInput
ref #216 for details
2021-05-26 05:41:35 +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
831680f812
dist with new generator 2021-02-25 16:22:36 +09:00
marocchino
74499a97b3
lint 2021-02-25 14:50:07 +09:00
Adrian Young
26fcd4ab88
Add ability to reference other repos 2021-02-24 13:23:19 +00:00
marocchino
acc9cee2ce
Fix unexpected delete fail 2021-01-22 02:29:12 +09:00
marocchino
20a3e8289a
update code with @action/github 4 2021-01-21 07:43:05 +09:00
Mike Barry
81f6eb258e fix boolean handling 2020-12-22 20:34:14 -05:00
Sebass van Boxel
f6651c5728
Convert buffer to string 2020-11-06 09:38:38 +01:00
Sebass van Boxel
2350aa6ad6
Don't make api call when body is empty 2020-11-04 22:20:58 +01:00
Sebass van Boxel
d830f732b0 Don't allow empty comment body 2020-10-30 19:27:23 +00:00
Sebass van Boxel
c116c20c11
Add support for deleting previously created comments 2020-10-11 19:29:41 +02:00
marocchino
8cea69fb3f
Merge branch 'master' into replace-option 2020-06-25 14:51:01 +09:00
Jake Hiller
7a2cc8a3dc simplify comment logic 2020-06-25 01:26:22 -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
1ec19bd242 rename option to recreate 2020-06-24 09:33:22 -04:00
Jake Hiller
eb64714cc1 cleanup previousBody variable creation 2020-06-23 11:58:52 -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
Buck Doyle
834b325ec2 Add option to read message from path 2020-05-12 11:00:06 -05:00
Simon Stender Boisen
168a45153d feat: append to previous comment message 2020-03-26 14:30:28 +01:00
marocchino
033d20d120
build: build custom header implement
- c873eaf
- test it
2020-02-04 17:24:40 +09:00
marocchino
c873eaf14f
feat: add ability to set custom header 2020-02-04 17:19:50 +09:00
marocchino
5a366cee1f
feat: do not fail when no numbers given 2019-12-27 09:42:09 +09:00
marocchino
6ecc72b81e
feat: can receive number as input 2019-12-18 14:02:55 +09:00
marocchino
9550af3011
feat: find & write with comment header 2019-11-23 10:44:40 +09:00
marocchino
fd286f3230
refactor: extract api wrapper 2019-11-23 10:11:28 +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