Просмотр исходного кода

labeler.yml: Use settings from ggerganov/llama.cpp [no ci] (#7363)

https://github.com/actions/labeler#using-configuration-path-input-together-with-the-actionscheckout-action
Recommends the use of checkout action to use the correct repo context
when applying settings for PR labels

e.g.

    steps:
    - uses: actions/checkout@v4 # Uploads repository content to the runner
      with:
        repository: "owner/repositoryName" # The one of the available inputs, visit https://github.com/actions/checkout#readme to find more
    - uses: actions/labeler@v5
      with:
        configuration-path: 'path/to/the/uploaded/configuration/file'
Brian 1 год назад
Родитель
Сommit
e23b974f4c
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      .github/workflows/labeler.yml

+ 5 - 0
.github/workflows/labeler.yml

@@ -9,4 +9,9 @@ jobs:
       pull-requests: write
       pull-requests: write
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
+    - uses: actions/checkout@v4
+      with:
+        repository: "ggerganov/llama.cpp"
     - uses: actions/labeler@v5
     - uses: actions/labeler@v5
+      with:
+        configuration-path: '.github/labeler.yml'