mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Updated to GH Scripts (#3295)
This commit is contained in:
parent
b35b8d98c3
commit
e3720bb4a6
14
.github/workflows/auto_labeler.yml
vendored
14
.github/workflows/auto_labeler.yml
vendored
@ -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']
|
||||||
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user