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
Bryan Clark
ac77fc9f3f
Add a GraphQL example
2020-09-17 12:57:34 -07:00
Jonathan Clem
af3c0bbd72
Fix example function arguments
2020-09-01 09:42:22 -04:00
Victoria Drake
89e42e73d1
Clean up README
...
Remove text that seems to be repeated
2020-08-22 09:25:58 -04:00
Jonathan Clem
e2ddba4dfc
Fix Integration/CI badges
2020-08-21 11:15:59 -04:00
Jonathan Clem
cf1dcb0bd5
Add nicer status badges and workflow names
2020-08-21 11:13:16 -04:00
Jonathan Clem
626af12fe9
v3.0.0
2020-08-21 11:04:01 -04:00
Jonathan Clem
fb0feb9324
Add licensed workflow badge
2020-08-06 21:26:37 -04:00
Jonathan Clem
07ecbc5ac0
Update README.md
2020-07-29 11:49:45 -04:00
Ahmad Nassri
a656f437f9
docs: use GITHUB_WORKSPACE environment variable
...
- update example for using `GITHUB_WORKSPACE` environment variable to keep things simple, and use less steps
- include `github` object as a parameter to the sample script to better illustrate usage
2020-07-28 21:54:19 -04:00
Jonathan Clem
603dfa3ce2
Update README.md
2020-07-17 10:25:55 -04:00
Jonathan Clem
62c8044fd6
Update README.md
2020-07-17 10:25:39 -04:00
Jochen Ulrich
c19d6ba8b3
Adds note that absolute path is required
...
An absolute path is required when calling `require()` from within the github-script
2020-07-17 00:47:14 +02:00
Jonathan Clem
1ba1e95cf2
Replace default branch name with main
2020-07-14 16:36:10 -04:00
Advay Mengle
95130f1202
Link to correct context file
2020-07-07 20:26:05 -07:00
Jonathan Clem
fa718ed671
Use @v2 in README
2020-06-04 14:14:28 -04:00
Jonathan Clem
89e3c40f24
Add note about data-from-URL working on public repos [ fixes #55 ]
2020-06-04 13:44:20 -04:00
Josh Gross
9b7fae11e2
Fix Action references in separate file example
2020-05-29 09:33:15 -04:00
Jason Macgowan
b2c461f3a2
Include @actions/io
2020-05-18 15:56:00 -04:00
Jonathan Clem
048309c447
Bump to v1
2020-05-18 14:32:21 -04:00