mirror of
https://github.com/actions/github-script.git
synced 2025-12-09 00:26:20 +00:00
Add note about data-from-URL working on public repos [fixes #55]
This commit is contained in:
@@ -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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user