Skip to content

Commit

Permalink
add needs-trage activity (#25219)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangyan99 authored Jul 15, 2022
1 parent 44f825b commit e24cf4e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/label-needs-triage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Add needs-triage label to new issue

on:
issues:
types: [opened]

env:
BASE_BRANCH: ${{ github.base_ref }}

jobs:
needs-triage:
runs-on: ubuntu-latest

steps:
- uses: actions/labeler@v3
- name: add labels
if: env.BASE_BRANCH == 'main'
with:
github_token: ${{ secrets.GH_AZURE_SDK_PROJECT_PAT }}
labels: needs-triage

0 comments on commit e24cf4e

Please sign in to comment.