mirror of
https://github.com/actions/github-script.git
synced 2025-12-08 16:16:21 +00:00
Update README.md
This commit is contained in:
@@ -27,7 +27,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
github-token: ${{github.token}}
|
github-token: ${{github.token}}
|
||||||
script: |
|
script: |
|
||||||
await github.issues.createComment({...context.issue, body: '👋 Thanks for reporting!'})
|
github.issues.createComment({...context.issue, body: '👋 Thanks for reporting!'})
|
||||||
```
|
```
|
||||||
|
|
||||||
### Apply a label to an issue
|
### Apply a label to an issue
|
||||||
@@ -44,7 +44,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
github-token: ${{github.token}}
|
github-token: ${{github.token}}
|
||||||
script: |
|
script: |
|
||||||
await github.issues.addLabels({...context.issue, labels: ['Triage']})
|
github.issues.addLabels({...context.issue, labels: ['Triage']})
|
||||||
```
|
```
|
||||||
|
|
||||||
### Welcome a first-time contributor
|
### Welcome a first-time contributor
|
||||||
|
|||||||
Reference in New Issue
Block a user