Comments (5)
@saihaj this is not currently supported but feel free to file a PR to add this
from issue-labeler.
Hello - I would like to report that the regex flag is not working for me.
Reproduction steps:
- Create
.github/issue-labeler.yml
and.github/workflows/issue-labeler.yml
. - Use existing workflow file, version 2.2
- In issue labeler, use the following options:
cli:
- '/(cli|commandline)/i'
- Create an issue with the word "cLi", to trigger insensitivity.
- Run Action:
##[warning]Unexpected input(s) 'not-before', 'enable-versioned-regex', valid inputs are ['repo-token', 'configuration-path']
Run github/[email protected]
Removing label theme/cli from issue #7
(node:2602) UnhandledPromiseRejectionWarning: HttpError: Label does not exist
at /home/runner/work/_actions/github/issue-labeler/v2.2/node_modules/@octokit/request/dist-node/index.js:66:23
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:2602) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2602) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:2602) UnhandledPromiseRejectionWarning: HttpError: Label does not exist
at /home/runner/work/_actions/github/issue-labeler/v2.2/node_modules/@octokit/request/dist-node/index.js:66:23
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:2602) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by
I have even tried something simple, like so:
windows:
- '/windows/i'
As of right now, Case insensitivity is not working.
from issue-labeler.
It appears that #15 may not be present in a tagged release: v2.3...master
Could a maintainer please cut a release with that support?
A workaround might be to point to the current master
branch commit: uses: github/issue-labeler@ 0207bb58c165f7229d560291b28d8de891bc46d1
, which I'll try to verify in a few minutes and report back if that does not work.
from issue-labeler.
Hmm, there may be other issues with using the full SHA:
# .github/workflows/issue-labeler.yml
name: "Issue Labeler"
on:
issues:
types: [opened, edited]
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: github/issue-labeler@0207bb58c165f7229d560291b28d8de891bc46d1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yml
enable-versioned-regex: 0
# .github/labeler.yml
wontfix:
- '/(cli|commandline)/i'
Error: Cannot find module '@actions/core'
Require stack:
- /home/runner/work/_actions/github/issue-labeler/0207bb58c165f7229d560291b28d8de891bc46d1/lib/main.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15)
at Function.Module._load (internal/modules/cjs/loader.js:690:27)
at Module.require (internal/modules/cjs/loader.js:852:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/home/runner/work/_actions/github/issue-labeler/0207bb58c165f7229d560291b28d8de891bc46d1/lib/main.js:19:27)
at Module._compile (internal/modules/cjs/loader.js:959:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Function.Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/runner/work/_actions/github/issue-labeler/0207bb58c165f7229d560291b28d8de891bc46d1/lib/main.js'
]
}
Reference: https://github.com/bflad/go-module-three/runs/2656622695?check_suite_focus=true
from issue-labeler.
A new release has been cut for this
from issue-labeler.
Related Issues (20)
- Feature: Assign repository collaborators based on regex HOT 1
- Labeler always correctly adds expected label, but sometimes then incorrectly immediately and unexpectedly removes the label HOT 3
- New feature: Only read the title of the issue HOT 1
- Auto select filter when clicking labels HOT 2
- Label a git submodule change
- GitHub Enterprise Server HOT 1
- HttpError: Label does not exist (although it is defined for the project) HOT 2
- Labeler fails when issue body is empty HOT 2
- Allow manually setting the issue number
- Read default GitHub token
- HttpError: Resource not accessible by integration HOT 2
- Issue-labeler removes labels when regex does not match HOT 2
- Error running workflow: "Input required and not supplied: repo-token" HOT 2
- issue-labeler does not run on issues created by github-actions bot HOT 1
- Warning: Unexpected input(s) 'include-body' HOT 4
- Should be Label 1
- Could not add label(s) to issue HOT 1
- Fix the warning message: Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20 HOT 1
- Error: AggregateError HOT 4
- Add example of `enable-versioned-regex`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from issue-labeler.