Comments (8)
Personally am using emoji in my labels by using the symbol not the shortcode eg.
labeler.yml
π½ Package: packages/**/*
π¦ Repo: ./*
from labeler.
This is working on our repo:
πΈ Main:
- apps/main/**/*
πΉ Demo:
- apps/demo/**/*
π
Style Guide:
- '@private-internal/**/*'
from labeler.
You have 3 distinct labels without overlapping pathes.
@jhdcruz seems to have problems with overlapping pathes though, not with the actual emojisβ¦
"Reviewing :memo:": - src/*
Only mathces the first level, your other label though matches some subdirectories. You probably want to do this:
"Reviewing :memo:":
- src/*
- src/**/*
To match all files in the folder and all files in all subfolders of arbitrary depths.
from labeler.
"Reviewing :memo:": []
This seems to be valid YAML. Does this not work for you?
from labeler.
"Reviewing :memo:": []This seems to be valid YAML. Does this not work for you?
It does work for emoji, but somehow it doesn't apply multiple labels
Here's my .github/labeler.yml
:
"Reviewing :memo:":
- src/*
"UI Design :art:":
- src/pages/*
- src/styles/**/*
Only Reviewing :memo:
was applied, but the UI Design :art:
wasn't applied;
the file I edited is in src/pages/sample.html
.
Did I do something wrong?
from labeler.
Personally am using emoji in my labels by using the symbol not the shortcode eg.
labeler.yml
π½ Package: packages/**/* π¦ Repo: ./*
Unfortunately that doesn't work for me, @NobbZ solution works better for me. However only the first label is applied, and the other is skipped for some reason.
"Reviewing :memo:":
- src/*
"UI Design :art:":
- src/pages/*
- src/styles/**/*
Something I missed in the config? or only one label are allowed per folder?
from labeler.
You have 3 distinct labels without overlapping pathes.
@jhdcruz seems to have problems with overlapping pathes though, not with the actual emojisβ¦
"Reviewing :memo:": - src/*Only mathces the first level, your other label though matches some subdirectories. You probably want to do this:
"Reviewing :memo:": - src/* - src/**/*To match all files in the folder and all files in all subfolders of arbitrary depths.
I missed the paths. π
from labeler.
how can I add two separate labels for a change in a single file ?
from labeler.
Related Issues (20)
- Getting `sync-labels` type error after update to 5 version. HOT 4
- Create dynamic labels from branch name HOT 1
- any-glob-all-files does not working intuitevely HOT 4
- Sync-labels should not remove an unspecified label HOT 2
- Error when configuration is invalid HOT 1
- Branch name checks ignored as top level key HOT 2
- example fails yaml validation HOT 7
- Char HOT 1
- Node 16 gets warning HOT 2
- Description seems dangerous HOT 5
- Labeler should never remove labels it has not configured HOT 5
- Add a label to the PR if the review has ended with a request to make changes HOT 1
- Could not find pull request warning for pull_request closed event HOT 2
- Is it possible to label based on number of lines changed? HOT 1
- Update documentation to note that you can use sentences in labels HOT 1
- Allow for only applying a label if another label has not been applied (enumerated labels) HOT 1
- Merging `main` into PR causes incorrect labeling HOT 2
- Apply label only if it's the only change to the document HOT 1
- Hoy por mi maΓ±ana por ti HOT 1
- Very slow when many files match filter HOT 1
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 labeler.