Commit graph

40 commits

Author SHA1 Message Date
Josh Gross
d09af7480d
Avoid setting baseURL if the input is not provided 2023-11-17 10:20:10 -05:00
Josh Gross
85717e4e3b
Use API URL instead of Server URL 2023-11-16 18:51:10 -05:00
Josh Gross
4cc0320b36
Default to server URL explicitly 2023-11-16 18:34:40 -05:00
Josh Gross
98dabfb42f
Try without base-url entirely 2023-11-16 11:43:03 -05:00
Josh Gross
df3133d1ed
Add debug logging for base URL 2023-11-16 11:36:59 -05:00
Josh Gross
28e431842a
Only set base URL when input is defined 2023-11-16 11:32:37 -05:00
Josh Gross
5349cf9965
Merge branch 'main' into joshmgross/node-20 2023-11-08 09:45:02 -05:00
Rob Anderson
ea121b86f9
add base-url option 2023-10-20 10:16:28 -06:00
Josh Gross
84ab08fe8b
Update dependencies and use Node 20 2023-10-11 16:11:59 -04:00
Martijn Pieters
8d9f8fc050
Fix null handling, covered by integration tests
`core.getInput()` always returns a string, so testing for 'not null'
is always true. This then leads to previews set to an array with
a single empty string, breaking accept-header output.

Updated eslint rules should help avoid this issue in future, and new
integration tests verify that the github client configuration now
reflects the intended configuration options.
2023-04-04 22:11:47 +01:00
Martijn Pieters
78f623b2da
Add @octokit/plugin-request-log, to produce debug output for requests
Without this plugin, the debug setting is, effectively, meaningless as
none of the existing plugins produce log output.

The plugin writes the request options to octokit.log.debug, and response
times as *method path - status in ...ms* to octokit.log.info.
2023-03-30 16:00:56 +01:00
Dan Michael O. Heggø
f34078a491
Make node-fetch available 2023-01-07 00:38:19 +01:00
Luke Tomlinson
8445ca871a Fix overriding request options from @actions/github 2022-09-30 15:15:18 -04:00
Luke Tomlinson
eb0f407f1a Whitespace 2022-09-23 16:30:17 -04:00
Luke Tomlinson
3faaff918c PR feedback 2022-09-23 16:16:31 -04:00
Luke Tomlinson
660d907517 refactor and add tests for retry options 2022-09-23 11:45:39 -04:00
Luke Tomlinson
355d8955d8 Add retry plugin 2022-09-23 10:56:21 -04:00
Bhavana Konchada
6456c11da2 Adding @actions/exec
adding @actions/exec

adding @qctions/exec

updated readme.md

Added license file for @actions/exec
2021-08-11 13:51:41 -07:00
Jonathan Clem
83c92d6511
Rename nativeRequire to __original_require__ 2021-04-21 16:41:31 -04:00
Jonathan Clem
c416f56b51
Pass nativeRequire, as well 2021-04-21 16:40:48 -04:00
Jonathan Clem
75e3a5b35d
Move wrapRequire to its own module 2021-04-21 16:37:24 -04:00
Jonathan Clem
f4e5d39c2a
Use a proxy to support relative requires 2021-04-21 16:32:28 -04:00
Jonathan Clem
ddba1b195d
Use non-Webpack-require in evaluated scripts 2021-04-21 16:16:20 -04:00
Matisse Hack
8920b9a6ed
Add the @actions/glob package 2021-03-29 16:06:39 -07:00
Jonathan Clem
4789b35ac3
Add pull-request-test workflow 2020-06-04 14:11:25 -04:00
Jason Macgowan
b2c461f3a2
Include @actions/io 2020-05-18 15:56:00 -04:00
Jonathan Clem
3037861304
Add ESLint and Prettier 2020-05-18 11:28:54 -04:00
Jonathan Clem
8982156783
Add core to the script context 2020-03-24 13:57:27 -04:00
Jonathan Clem
493b839630
Remove output log 2020-02-28 09:09:06 -05:00
Jonathan Clem
904b439f45
Set output 2020-02-28 09:07:52 -05:00
Jonathan Clem
1e169ae445
Remove result temporarily 2020-02-28 09:06:03 -05:00
Jonathan Clem
62fdca610c
Remove log result 2020-02-28 08:54:30 -05:00
Jonathan Clem
26ee3d2d09
Test log result 2020-02-28 08:52:13 -05:00
Jonathan Clem
be5d094bf9
Remove async from callAsyncFunction 2020-02-28 08:51:05 -05:00
Jonathan Clem
3758c2b05b
Add result log 2020-02-28 08:50:21 -05:00
Jonathan Clem
317a0746d1
Remove core again for now 2020-02-28 08:49:25 -05:00
Jonathan Clem
d73e75dea8
Separate integration workflow 2020-02-27 17:52:43 -05:00
Jonathan Clem
7afad1e364
Add core 2020-02-27 17:43:18 -05:00
Jonathan Clem
38e3ffe4c6
Add tests for the AsyncFunction 2020-02-27 17:27:49 -05:00
Jonathan Clem
2adb4f3620
Use TypeScript 2020-01-08 15:17:10 -05:00
Renamed from src/main.js (Browse further)