Update README.md
This commit is contained in:
18
README.md
18
README.md
@@ -8,7 +8,9 @@ Here are a few use cases for this action:
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
name: Triage
|
name: Triage
|
||||||
on: [issues]
|
on:
|
||||||
|
issues:
|
||||||
|
types: [opened]
|
||||||
jobs:
|
jobs:
|
||||||
applyTriageLabel:
|
applyTriageLabel:
|
||||||
name: Apply Triage Label
|
name: Apply Triage Label
|
||||||
@@ -20,14 +22,16 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
args: label triage --action=opened
|
args: label triage
|
||||||
```
|
```
|
||||||
|
|
||||||
## Commenting on an issue
|
## Commenting on an issue
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
name: Triage
|
name: Triage
|
||||||
on: [issues]
|
on:
|
||||||
|
issues:
|
||||||
|
types: [opened]
|
||||||
jobs:
|
jobs:
|
||||||
commentOnNewIssues:
|
commentOnNewIssues:
|
||||||
name: Comment On New Issues
|
name: Comment On New Issues
|
||||||
@@ -39,14 +43,16 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
args: comment "Hello World" --action=opened
|
args: comment "Hello World"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Assigning any newly created issues
|
## Assigning any newly created issues
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
name: Triage
|
name: Triage
|
||||||
on: [issues]
|
on:
|
||||||
|
issues:
|
||||||
|
types: [opened]
|
||||||
jobs:
|
jobs:
|
||||||
assignMonaLisa:
|
assignMonaLisa:
|
||||||
name: Assign MonaLisa
|
name: Assign MonaLisa
|
||||||
@@ -58,7 +64,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
args: assign @monalisaoctocat --action=opened
|
args: assign @monalisaoctocat
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|||||||
Reference in New Issue
Block a user