Giter Site home page Giter Site logo

Comments (8)

csi-lk avatar csi-lk commented on July 26, 2024 1

Personally am using emoji in my labels by using the symbol not the shortcode eg.

labeler.yml

πŸ’½ Package: packages/**/*
πŸ“¦ Repo: ./*

from labeler.

majman avatar majman commented on July 26, 2024 1

This is working on our repo:

πŸ›Έ Main:
- apps/main/**/*

πŸ•Ή Demo:
- apps/demo/**/*

πŸ’… Style Guide:
- '@private-internal/**/*'

from labeler.

NobbZ avatar NobbZ commented on July 26, 2024 1

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.

NobbZ avatar NobbZ commented on July 26, 2024
"Reviewing :memo:": []

This seems to be valid YAML. Does this not work for you?

from labeler.

jhdcruz avatar jhdcruz commented on July 26, 2024
"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.

jhdcruz avatar jhdcruz commented on July 26, 2024

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.

jhdcruz avatar jhdcruz commented on July 26, 2024

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.

PrafulAnand avatar PrafulAnand commented on July 26, 2024

how can I add two separate labels for a change in a single file ?

from labeler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.