Updated to GH Scripts (#3295)

This commit is contained in:
Kowlin 2020-01-09 14:09:41 +01:00 committed by GitHub
parent b35b8d98c3
commit e3720bb4a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,10 +8,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@master
- name: Apply Triage Label - name: Apply Triage Label
uses: actions/github@v1.0.0 uses: actions/github-script@0.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
args: 'label "Status: Needs Triage"' github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['Status: Needs Triage']
})