From eb942738ff1755b6e3d50561ebf9909bb97b691d Mon Sep 17 00:00:00 2001 From: vjymisal0 Date: Sat, 5 Sep 2026 16:31:51 +0530 Subject: [PATCH] docs: explain required versioned regex input --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index b6e523c..26e0b61 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,8 @@ jobs: repo-token: ${{ github.token }} ``` +`enable-versioned-regex` is required and has no default; omitting it causes the action to fail. Set it to `0` to use the file at `configuration-path` directly. Set it to `1` to select a versioned configuration file using the first capture group of `versioned-regex` matched against the issue body, as shown in the [versioned issue templates example](#example-using-versioned-issue-templates). Versioning lets older issues keep using the regular expressions for their original template when templates change. + `not-before` is optional and will result in any issues prior to this timestamp to be ignored. ### Example using versioned issue templates @@ -159,6 +161,7 @@ jobs: - uses: github/issue-labeler@v3.5 #May not be the latest version with: configuration-path: .github/labeler.yml + enable-versioned-regex: 0 include-title: 1 include-body: 0 ```