From 3a46a2c8e20d69317813d743a6244f4fc3940892 Mon Sep 17 00:00:00 2001 From: Galo Navarro Date: Sat, 11 Nov 2023 08:10:52 +0100 Subject: [PATCH] README: use_local_config needs checkout (#108) Signed-off-by: Galo Navarro --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a409d43..d0c8ce9 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,12 @@ jobs: runs-on: ubuntu-latest + steps: + + - name: Checkout your code + uses: actions/checkout@v3 + - uses: srvaroa/labeler@master with: config_path: .github/labeler.yml @@ -133,7 +138,8 @@ file for the action. The default is `.github/labeler.yaml`. Use `use_local_config` to chose where to read the config file from. By default, the action will read the file from the default branch of your repository. If you set `use_local_config` to `true`, then the action -will read the config file from the local checkout. +will read the config file from the local checkout. Note that you may +need to checkout your branch before the action runs! ## Troubleshooting