]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
labeler.yml: Use settings from ggerganov/llama.cpp [no ci] (#7363)
authorBrian <redacted>
Sun, 19 May 2024 10:51:03 +0000 (20:51 +1000)
committerGitHub <redacted>
Sun, 19 May 2024 10:51:03 +0000 (20:51 +1000)
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'

.github/workflows/labeler.yml

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