mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -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
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Apply Triage Label
|
||||
uses: actions/github@v1.0.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
uses: actions/github-script@0.4.0
|
||||
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