1# Copyright (c) 2023 Intel Corporation 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15name: "Issue Labeler" 16on: 17 issues: 18 types: [opened, edited] 19 pull_request: 20 types: [opened, edited] 21 22jobs: 23 triage: 24 runs-on: ubuntu-latest 25 permissions: 26 pull-requests: write 27 issues: write 28 contents: read 29 steps: 30 - uses: github/issue-labeler@v3.2 #May not be the latest version 31 with: 32 repo-token: "${{ secrets.GITHUB_TOKEN }}" 33 configuration-path: .github/issue_labeler.yml 34 enable-versioned-regex: 0 35 sync-labels: 1 36