Skip to content

Commit 219c979

Browse files
authored
Merge pull request SpinlockLabs#234 from SpinlockLabs/robbecker-wf-patch-1
Update triage.yml
2 parents aae28fc + feef97d commit 219c979

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

.github/workflows/triage.yml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,25 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@master
12-
- name: Assign Rob
13-
uses: actions/github@v1.0.0
14-
env:
15-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16-
with:
17-
args: assign @robrbecker
1812
- name: Apply triage label
19-
uses: actions/github@v1.0.0
20-
env:
21-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13+
uses: actions/github-script@v3
2214
with:
23-
args: label triage
15+
github-token: ${{secrets.GITHUB_TOKEN}}
16+
script: |
17+
github.issues.addLabels({
18+
issue_number: context.issue.number,
19+
owner: context.repo.owner,
20+
repo: context.repo.repo,
21+
labels: ['triage']
22+
})
2423
- name: Comment On New Issues
25-
uses: actions/github@v1.0.0
26-
env:
27-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
uses: actions/github-script@v3
2825
with:
29-
args: comment "Thanks for submitting an issue! @robrbecker will take a look soon!"
26+
github-token: ${{secrets.GITHUB_TOKEN}}
27+
script: |
28+
github.issues.createComment({
29+
issue_number: context.issue.number,
30+
owner: context.repo.owner,
31+
repo: context.repo.repo,
32+
body: '👋 Thanks for reporting! @robrbecker will take a look.'
33+
})

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy