Commit graph

157 commits

Author SHA1 Message Date
joseph-sentry
bc200a8c54
fix: quick fix to use Promise resolve in getToken 2024-08-28 15:48:25 -04:00
joseph-sentry
ad787cf9d8
fix: address feedback 2024-08-28 12:36:00 -04:00
joseph-sentry
d7991a51f0
fix: don't overwrite overrideBranch & add comments decribing getToken 2024-08-01 09:53:46 -04:00
joseph-sentry
f1d218aabf
test: fix tests 2024-07-29 11:33:50 -04:00
joseph-sentry
58f4498604
fix: quick fix to use Promise resolve in getToken 2024-07-23 16:26:14 -04:00
joseph-sentry
30c7aa0088
refactor: change getToken to return nullable output 2024-07-23 16:07:22 -04:00
joseph-sentry
c56aae1c00
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
2024-07-23 15:54:12 -04:00
Tom Hu
992fc4eb1f
chore(ci): restrict scorecards to codecov/codecov-action (#1512) 2024-07-16 16:44:50 +02: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
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
Tom Hu
3a20752bdd
chore(deps): update deps (#1351) 2024-04-02 09:06:24 -07:00
Tom Hu
c16abc29c9
chore(release): 4.1.1 (#1344) 2024-03-26 10:58:49 -04: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
22b99ac1d7
fix: downgrade undici as it has a breaking change (#1219) 2024-01-19 12:13:47 -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
Tom Hu
0016507ac7
chore(release): 4.0.0-beta.1 (#1084)
* chore(release): 4.0.0-beta.1

* fix: typo
2023-09-13 08:58:26 -07: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
Tom Hu
eaaf4bedf3
release: 3.1.4 (#983) 2023-05-15 16:48:57 -04: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
894ff025c7
chore(release): bump to 3.1.3 (#961) 2023-04-20 10:40:20 -07:00
Tom Hu
f539f977d5
fix: allow for aarch64 build (#960) 2023-04-20 10:02:22 -07:00
Tom Hu
40a12dcee2
chore(release): bump to 3.1.2 (#956) 2023-04-11 13:08:35 -07:00
Tom Hu
030a000ec6
fix: add in all the extra arguments for uploader (#955) 2023-04-11 09:06:59 -07:00
Tom Hu
d9f34f8cd5
release: update changelog and version to 3.1.1 (#828) 2022-09-19 11:24:21 -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
174efc5984
Update package-lock.json 2022-04-05 09:12:59 -04:00
Tom Hu
6243a75ef3
bump to 3.0.0 2022-04-04 17:19:12 -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
9e4b071621
Merge branch 'feat/gcov' of https://github.com/codecov/codecov-action into feat/gcov 2022-04-04 16:29:19 -04:00