Commit graph

102 commits

Author SHA1 Message Date
Tom Hu
6f7612c64d
fix: bump eslint parser deps (#1586) 2024-10-01 09:44:31 -05:00
Sviatoslav Sydorenko (Святослав Сидоренко)
8bacbcdafc
Spell evenName in the logs correctly (#1560) 2024-09-05 23:22:46 +03:00
joseph-sentry
4b21c320b5
feat: pass tokenless value as branch override (#1511)
* feat: pass tokenless value as branch override

instead of only passing the tokenless branch value as an environment
variable we want to pass it as the branch value to the CLI

* refactor: change getToken to return nullable output

* fix: quick fix to use Promise resolve in getToken

* test: add test for tokenless build commit exec

* fix: don't overwrite overrideBranch & add comments decribing getToken
2024-08-29 08:04:04 -04:00
nicholas-codecov
d2bac1a14c
ref: Tidy up types and remove string coercion (#1536)
* add dev dep for GH webhook types

* use new types, and remove redundent string coercion

* simplify conditional logic
2024-08-12 20:25:55 +03:00
Marco Biedermann
a06c39c510
test: versionInfo (#1407)
* test: `versionInfo`

Add full test coverage resolving the `versionInfo`

* fix: whitespace

* fix: update the test

* fix: just get the test to pass

* fix: substring

---------

Co-authored-by: Tom Hu <thomas.hu@sentry.io>
2024-07-16 19:57:04 +02:00
Leo Feyer
7594baaf0c
Use an existing token even if the PR is from a fork (#1471)
Use a given token even if the PR is from a fork
2024-06-12 16:15:54 +08:00
joseph-sentry
81c0a51dcc
feat: add support for tokenless v3 (#1410) 2024-06-11 11:06:49 -04:00
joseph-sentry
feaf700b2a
fix: handle trailing commas (#1470)
Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io>
2024-06-10 11:32:49 -04:00
shahar-h
c9dbf6a905
fix: isPullRequestFromFork returns false for any PR (#1437)
* fix: isPullRequestFromFork returns false for any PR

* fix: add log statement

* fix: force set token

* fix: pass in empty string

* fix: bump version

* fix: revert to promise

* fix: revert changes

---------

Co-authored-by: Tom Hu <thomas.hu@sentry.io>
2024-05-20 18:57:31 +07:00
Tom Hu
2791a5c4fe
fix: remove GPG and run on spawn (#1426)
* fix: first pass remove gpg

* fix: import key

* fix: break validation

* fix: fail ci

* fix: make it the right signature file

* fix: perhaps console

* fix: cleanup

* fix: io the import

* fix: remove from container for now
2024-05-14 21:26:56 +07:00
Josh Soref
f691d469fb
chore: Clarify isPullRequestFromFork (#1411)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-05-07 16:41:22 +07:00
Tom Hu
5a299d1127
fix: bypass token checks for forks and OIDC (#1404)
* chore(log): dump context

* fix: add logic to bypass token for forks

* fix: running the same things

* fix: more logging

* fix: more core info

* fix: run the func

* fix: cleanup
2024-05-01 15:34:25 +08:00
Marco Biedermann
e8bbe5fc01
docs: Type Annotations (#1397)
Add missing type annotations
2024-04-30 16:29:24 +08:00
Marco Biedermann
1290bddc88
style: Node Packages (#1394)
Add the `node:` prefix to imports of node internal packages, making it easier to differentiate
2024-04-29 22:17:32 +08:00
ReenigneArcher
86801cdd03
fix: more verbose log message when failing to import pgp key (#1371) 2024-04-15 08:18:38 -07:00
Tom Hu
363a65ad48
feat: add network params (#1365) 2024-04-09 10:53:53 -07:00
Tom Hu
55e8381a3e
fix: automatically detect if using GitHub enterprise (#1356) 2024-04-05 11:12:44 -07:00
Tom Hu
d820d60619
feat: allow for authentication via OIDC token (#1330)
* fix: allow for oidc token

* chore(docs): update docs with use_oidc argument

* Update action.yml

Co-authored-by: Cristian Le <github@lecris.me>

* chore(release): 4.2.0

---------

Co-authored-by: Cristian Le <github@lecris.me>
2024-04-03 15:41:48 -07:00
Martin Kröning
3e33441c19
fix: typo in disable_safe_directory (#1343)
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
2024-03-26 09:58:36 -04:00
Tom Hu
4621ecce09
fix: force version (#1329) 2024-03-19 08:19:47 -04:00
Tom Hu
2fc4847d3f
fix: set safe directory (#1304)
* fix: set safe directory

* fix: naming

* fix: update tests

* fix: dont even check

* fix: add set safe directory

* fix: write test for setSafeDirectory
2024-02-26 11:31:39 -08:00
Bo Anderson
f62c5eebfe
fix: working-directory input for all stages (#1272) 2024-02-06 09:53:39 -08:00
Tom Hu
1f9f5573d1
Add all args (#1245)
* fix: add all args from cli

* chore(release): bump to 4.0.1
2024-02-01 09:05:17 -08:00
Tom Hu
a7b945cea4
fix: allow for other archs (#1239)
* fix: allow for other archs

* fix: platform tests
2024-01-31 09:18:52 -08:00
Tom Hu
240e6ae968
fix: remove openpgp dep due to licensing and use gpg (#1218) 2024-01-19 12:23:04 -05:00
Tom Hu
83d30f0e41
chore(deps): move from node-fetch to undici (#1148)
* chore(deps): move from node-fetch to undici

* fix: lint

* test: see if this is actually running

* test: skeptical

* test: post-install
2023-10-25 06:08:39 -07:00
Tom Hu
428cda1b1c
feat: add plugins (#1099)
* feat: add plugins

* fix: add test
2023-09-22 17:29:50 -05:00
Dana Yaish
845c445181
not adding -n if empty to do-upload command (#1085) 2023-09-13 19:20:12 +03:00
Dana Yaish
c9e4b73267
use cli instead of node uploader (#1068)
* use cli instead of node uploader

* changes based on review

* logging out run command
2023-09-13 11:39:47 +03:00
Tom Hu
2b88a0bb95
chore(deps): update outdated deps (#1059) 2023-08-25 09:11:22 -07:00
Dana Yaish
c17956f54f
build commit,report and upload args based on codecovcli (#943)
* build commit,report and upload args based on codecovcli

* add tests

* Empty-Commit
2023-08-22 14:03:18 -07:00
Kleis Auke Wolthuizen
1c34415a06
fix: CLI option names for uploader (#969)
Only single character aliases can be specified with a single dash (-).
2023-05-08 21:57:34 -04:00
Tom Hu
b4dfea724f
fix: add back in working dir (#971) 2023-05-03 12:12:56 -04:00
Tom Hu
f539f977d5
fix: allow for aarch64 build (#960) 2023-04-20 10:02:22 -07:00
Tom Hu
030a000ec6
fix: add in all the extra arguments for uploader (#955) 2023-04-11 09:06:59 -07:00
Josh Soref
61ac410891
Remove unsupported path_to_write_report argument (#851) 2023-02-28 10:29:55 -05:00
Robbie McKinstry
0e9e7b4e8a
Plumb failCi into verification function. (#769) 2022-09-08 13:32:36 -04:00
Mitchell Borrego
5c0da1b28f
Trim arguments after splitting them (#791)
* Trim arguments after splitting them

* Test functionality

* Update buildExec.test.ts

* Use `toMatchObject` instead of `toEqual`

* Use `expect.arrayContaining`

* Update buildExec.test.ts

* Debug `execArgs`

* Build project

* Add `verbose` guard

* Build project
2022-07-26 12:43:41 -04:00
Tom Hu
95faa5a026
fix: add more verbosity to validation (#747)
* fix: add more verbosity to validation

* fix: more verbosity on tests

* fix: use proper variable for sig
2022-05-31 11:29:46 -04:00
Tom Hu
a03184e530
feat: add xcode support 2022-04-21 10:20:02 -04:00
Tom Hu
d4729eeb39
fetch.default 2022-04-04 17:10:55 -04:00
Tom Hu
351baf62fa
fix: bash 2022-04-04 17:09:16 -04:00
Tom Hu
ac6033346c
fix: small edits 2022-04-04 16:28:42 -04:00
Tom Hu
f37520c6b0
feat: add gcov support 2022-04-04 16:14:50 -04:00
Tom Hu
72dfd4782e
Allow specifying version of Codecov uploader 2021-09-09 14:53:12 -04:00
Tom Hu
b92422542f
fix: Add override OS and linux default 2021-08-20 11:23:29 -07:00
Tom Hu
53cd6a7259
Add platform 2021-08-19 14:19:35 -07:00
Tom Hu
0bbb08247a
fix: Update validation 2021-07-22 12:58:38 -07:00
Tom Hu
53f686aaf8
fix: Update validation 2021-07-22 11:59:46 -07:00
Tom Hu
6ab08a75e2
Bump to 2.0.2 2021-07-22 11:21:24 -07:00