mirror of
https://github.com/wega-team/ss14-wega.git
synced 2026-02-14 19:30:01 +01:00
17
.github/workflows/labeler-untriaged.yml
vendored
17
.github/workflows/labeler-untriaged.yml
vendored
@@ -10,10 +10,17 @@ jobs:
|
||||
add_label:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
issues: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions-ecosystem/action-add-labels@v1
|
||||
if: join(github.event.issue.labels) == ''
|
||||
with:
|
||||
labels: "S: Untriaged"
|
||||
- name: Add label to issue
|
||||
if: github.event_name == 'issues' && join(github.event.issue.labels.*.name) == ''
|
||||
uses: actions-ecosystem/action-add-labels@v1
|
||||
with:
|
||||
labels: "S: Untriaged"
|
||||
|
||||
- name: Add label to pull request
|
||||
if: github.event_name == 'pull_request_target' && join(github.event.pull_request.labels.*.name) == ''
|
||||
uses: actions-ecosystem/action-add-labels@v1
|
||||
with:
|
||||
labels: "S: Untriaged"
|
||||
|
||||
Reference in New Issue
Block a user