mirror of
https://github.com/actions/github-script.git
synced 2025-12-09 12:26:21 +00:00
Merge pull request #252 from josh-/add-formatting-example-readme
Update README with Markdown text formatting example
This commit is contained in:
@@ -146,6 +146,8 @@ jobs:
|
|||||||
|
|
||||||
### Welcome a first-time contributor
|
### Welcome a first-time contributor
|
||||||
|
|
||||||
|
You can format text in comments using the same [Markdown syntax](https://docs.github.com/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax) as the GitHub web interface:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
on: pull_request
|
on: pull_request
|
||||||
|
|
||||||
@@ -180,7 +182,9 @@ jobs:
|
|||||||
issue_number: context.issue.number,
|
issue_number: context.issue.number,
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
body: 'Welcome, new contributor!'
|
body: `**Welcome**, new contributor!
|
||||||
|
|
||||||
|
Please make sure you're read our [contributing guide](CONTRIBUTING.md) and we look forward to reviewing your Pull request shortly ✨`
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user