mirror of
https://github.com/actions/github-script.git
synced 2026-02-08 03:57:27 +00:00
Add text formatting example to README
This commit is contained in:
parent
9ac08808f9
commit
d965d37133
1 changed files with 5 additions and 1 deletions
|
|
@ -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 ✨`
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue