[llvm] [Github] Improve automatic new issue labelling (PR #65309)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 5 02:59:46 PDT 2023


================
@@ -9,12 +9,14 @@ permissions:
 jobs:
   automate-issues-labels:
     permissions:
-      issues: write  # for andymckay/labeler to label issues
-      pull-requests: write  # for andymckay/labeler to label PRs
+      issues: write
     runs-on: ubuntu-latest
     if: github.repository == 'llvm/llvm-project'
     steps:
-      - uses: andymckay/labeler at 1.0.4
+      - uses: github/issue-labeler at v3.2
         with:
-          add-labels: 'new issue'
-          ignore-if-labeled: true
----------------
cor3ntin wrote:

The workflow only triggers when PRs are created, not when edited.
But to be sure, I've set sync-labels to false explicitly https://github.com/github/issue-labeler#syncing-labels 

https://github.com/llvm/llvm-project/pull/65309


More information about the llvm-commits mailing list