Josh Gross
ec12a47a4a
Merge branch 'main' into patch-1
2025-01-17 15:14:36 -05:00
Josh Gross
7875aed44f
Clear up package name confusion
2025-01-17 14:37:40 -05:00
Josh Gross
ec3a5c4c4c
Fix workflow status badges
2024-11-01 18:11:15 -04:00
Timo
adfd270e4b
Specify that the script is JavaScript
2024-07-10 10:44:37 +02:00
Josh Gross
84724927e3
Only validate GraphQL previews
2023-11-08 10:03:49 -05:00
Josh Gross
5349cf9965
Merge branch 'main' into joshmgross/node-20
2023-11-08 09:45:02 -05:00
Josh Gross
30d8f852ac
Fix version number in breaking changes section
...
Co-authored-by: Martin Costello <martin@martincostello.com >
2023-10-12 13:06:36 -04:00
Josh Gross
47bc917394
Specify Node 20 in workflows and examples
2023-10-11 16:18:35 -04:00
Josh Gross
84ab08fe8b
Update dependencies and use Node 20
2023-10-11 16:11:59 -04:00
Viktor Lott
21446ed76b
Remove alternative setup documentation
2023-08-18 09:30:09 +02:00
Viktorlo
ba13a89bc9
Update README.md
2023-07-28 11:30:13 +02:00
Viktor Lott
56bdc6c318
Expose async-function argument type
...
We are exposing the async-function argument type for jsDoc
type declaration support. This means that we now could do:
"npm i -D @types/github-script@github:actions/github-script"
and the add:
"@param {import('@types/github-script').AsyncFunctionArguments}
AsyncFunctionArguments".
This could obviously be done in other ways too, like using
"@typed-actions/github-script" instead. But it seems better
to use the actual source repository instead of a third-party
library to import the type declaration.
2023-07-03 13:56:46 +02:00
Axel Navarro
c141a9230e
Fix typo in README
2023-04-05 10:11:07 -03:00
Josh Gross
da8818015e
Merge main
2023-01-26 11:05:45 -05:00
Josh Gross
ee0d992b06
Use Node 16 in CI and examples
2023-01-25 19:36:14 -05:00
Dan Michael O. Heggø
f34078a491
Make node-fetch available
2023-01-07 00:38:19 +01:00
Austin Vazquez
20fcf2e7fe
Update GitHub actions packages
...
Update actions/checkout, actions/setup-node, actions/cache, and
actions/upload-artifact from v2 to v3.
Signed-off-by: Austin Vazquez <macedonv@amazon.com >
2022-10-25 21:48:09 +00:00
Luke Tomlinson
3faaff918c
PR feedback
2022-09-23 16:16:31 -04:00
Kevin Goslar
ebee6048d8
Improve grammar
2022-06-22 13:35:28 -05:00
David Lechner
e44260d768
README: use pull_request_target in example
...
Pull requests from forks do not have write permission, so we need to use `pull_request_target` instead of `pull_request` to enable write permission.
Fixes #42 .
2022-03-30 13:19:17 -05:00
Josh Parnham
d965d37133
Add text formatting example to README
2022-03-27 23:55:08 +11:00
Josh Gross
9ac08808f9
Merge pull request #240 from actions/joshmgross/document-esm
...
Add an example using ESM `import`
2022-02-11 10:21:32 -05:00
Josh Gross
5541733ecf
Add an example using ESM import
2022-02-09 16:17:11 -05:00
Josh Gross
cd8eebf4a5
Release version 6.0.0
2022-02-09 16:05:04 -05:00
Ansgar Mertens
b3a068aede
fix typo
2021-11-18 13:25:08 +01:00
Johan X Lindqvist
415189ab4b
docs(readme): fix README example
2021-10-07 12:30:39 +02:00
Josh Gross
5e5d515dc7
Upgrade to the latest version of Octokit
2021-09-23 21:16:55 +00:00
Patrick Arminio
282dd6ab09
Make it clear that require is a custom wrapper
...
Happy to change the wording 😊
2021-09-14 12:39:05 +01: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
Josh Gross
bfb7c2383c
Add instructions for using a separate GitHub token
2021-06-10 12:15:08 -04:00
Michaël De Boey
cec08706ee
docs: remove github-token usage from examples
2021-05-23 01:53:58 +02:00
Jonathan Clem
c758586ea1
v4.0.0
2021-04-21 17:48:25 -04:00
Jonathan Clem
01f87b6c01
Remove caveat about node_modules
2021-04-21 17:21:31 -04:00
Jonathan Clem
3ca4cd5a00
Update documentation for relative require support
2021-04-21 16:48:53 -04:00
Josh Gross
59cb74c2ee
Merge pull request #125 from karlhorky/patch-1
...
Link to better octokit docs
2021-04-16 12:00:11 -04:00
Léandre DA SILVA
c72dc00003
Update readme with async example
2021-04-09 17:12:13 +02:00
Matisse Hack
8920b9a6ed
Add the @actions/glob package
2021-03-29 16:06:39 -07:00
Nihal Gonsalves
01dfe2e0c1
Update README.md
2021-03-30 02:48:37 +05:30
Nihal Gonsalves
934655b9e0
Document how to use env: as input
2021-03-30 02:23:20 +05:30
Nihal Gonsalves
a56d4504de
Document how to use installed npm packages
2021-03-30 02:20:10 +05:30
Karl Horky
bb407510e7
Remove version number to default to latest version
2021-03-24 18:20:16 +01:00
Karl Horky
3673bc4c4f
Link to better octokit docs
2021-03-24 18:13:28 +01:00
Leonid Bugaev
01904b97ff
Fix typo in Readme example
...
$label was not defined as input argument.
Also updated job name to reflect what it actually does.
2021-02-02 17:12:35 +03:00
Oliver Byford
5c9e354ff0
Use @v3 in 'View context attributes' example
...
This makes the version of github-script used in the 'View context attributes' example consistent with the version used by all of the other examples in the README.
2020-12-21 15:16:05 +00:00
Jason Bullen
f4f25ebaab
Move to examples section
2020-12-17 11:45:30 -05:00
Jason Bullen
b91d578158
Update README.md
...
Add example of using console.log to display attributes of object context
2020-12-17 08:33:49 -05:00
Jonathan Clem
96374ece58
Update README.md
2020-11-17 09:20:10 -05:00
Pradyun Gedam
6bd37e1a50
Move information about diffs to correct heading
2020-10-31 19:18:40 +05:30
Jonathan Clem
28e5ebafd7
Update README.md
2020-10-05 13:43:31 -04:00
Bryan Clark
91121b9cb3
Fixup typo
2020-09-17 12:58:40 -07:00