mirror of
https://github.com/actions/github-script.git
synced 2026-02-08 03:57:27 +00:00
Add note about data-from-URL working on public repos [fixes #55]
This commit is contained in:
parent
1b10125da5
commit
89e3c40f24
1 changed files with 4 additions and 0 deletions
|
|
@ -175,6 +175,10 @@ jobs:
|
||||||
console.log(result)
|
console.log(result)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
_(Note that this particular example only works for a public URL, where the
|
||||||
|
diff URL is publicly accessible. Getting the diff for a private URL requires
|
||||||
|
using the API.)_
|
||||||
|
|
||||||
This will print the full diff object in the screen; `result.data` will
|
This will print the full diff object in the screen; `result.data` will
|
||||||
contain the actual diff text.
|
contain the actual diff text.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue