Skip to content

v5.0.0-alpha.1Β #575

Closed
Closed

Description

@MaksimZhukov

We released the new alpha version of the action. It introduces the following major changes:

  1. Fix the bug related to the sync-labels input. Now the input value is read correctly.
  2. Add the ability to apply labels based on base and/or head branch names.
  3. Change the behavior of the any selector to match ANY file against ANY glob pattern.

For more information, see the release notes.

This is an alpha release and we would like to ask you to try it out and provide us with your feedback. If you have any questions, ideas or concerns, please share them in this issue.
Thank you!

Activity

  1. pinned this issue on May 24, 2023
  2. kachkaev commented on Jun 5, 2023

    @kachkaev
    Contributor

    How about setting dot option to true by default? I can craft a PR if this change is desired. From my personal experience, β€˜special treatment’ of dot files by labeler is somewhat surprising. I guess that the vast majority of developers would want to set dot: true anyway.

  3. MaksimZhukov commented on Jun 6, 2023

    @MaksimZhukov
    ContributorAuthor

    @kachkaev Thanks for the suggested idea! We will consider adding it to the new major release.

  4. lucacome commented on Jun 23, 2023

    @lucacome

    @MaksimZhukov I've been using the alpha for the past moth in multiple repos and everything works as expected.
    Any chance we can get a new alpha/beta with all the new features/updates that went into main? πŸ™

  5. MaksimZhukov commented on Jun 29, 2023

    @MaksimZhukov
    ContributorAuthor

    Thank you @lucacome for the feedback, we really appreciate it!
    We are considering the possibility of expanding the functionality of the alpha version. As soon as we finish the investigation, we will make appropriate changes, if necessary, and release a stable version.
    Thank you for your patience!

  6. jorgepiloto commented on Aug 10, 2023

    @jorgepiloto

    Hi @MaksimZhukov, I can confirm it fixes the issues with the sync-labels. The fact that this version adds labels based on branch names, is an excellent feature. Thanks for all the effort and time you devoted to this action ❀️

  7. MaksimZhukov commented on Sep 20, 2023

    @MaksimZhukov
    ContributorAuthor

    Hello everyone!
    We've released a new beta version of the action. The configuration file structure was changed to provide more flexibility for changed-files. For more information, see the release notes and this issue.

    If you have any questions, ideas or concerns, please share them in this issue.

  8. dfandrich commented on Sep 21, 2023

    @dfandrich
    Contributor

    There seems to be a different bug with sync-labels now. When not explicitly setting sync-labels in the GHA job file, the job errors out with

    TypeError: Input does not meet YAML 1.2 "Core Schema" specification: sync-labels Support boolean input list: `true | True | TRUE | false | False | FALSE`
    

    There needs to be an explicit sync-labels: false in the workflow file to avoid this; it can't be left out to rely on the default false value.

  9. MaksimZhukov commented on Sep 21, 2023

    @MaksimZhukov
    ContributorAuthor

    @dfandrich, thank you for reporting this! Could you please create a new issue?

  10. joshdales commented on Sep 22, 2023

    @joshdales
    Contributor

    Thanks for the updates in the new beta version - I was wondering why not use consistent casing for all the config keys names? eg. the new changed-files nested keys are all in PascalCase now rather than kebab-case. Would it not be better to have them all be the same?

    I realise that some of this might be my fault as I added some of those keys πŸ˜… I personally don't have a preference, I just went with kebab-case initially because it was the same as the action config, but if the nested changed file options are how y'all would rather future keys are then might make sense to switch changed-files, head-branch, base-branch as well?

  11. MaksimZhukov commented on Sep 25, 2023

    @MaksimZhukov
    ContributorAuthor

    @joshdales, this is a great point, thank you. We will switch the nested options to kebab-case

  12. cwire4 commented on Oct 3, 2023

    @cwire4

    Have the outputs changed or gone away in the beta? I originally used version 4 of the action and grabbed a snippet that outputs the new-labels and all-labels for the run. When I switched to the beta version, this step no longer outputs any labels even if some were added.

    This is the step I have in my yaml:

    • name: "Check Outputs"
      run: |
      echo 'New labels:'
      echo '${{ steps.labeler.outputs.new-labels }}'
      echo '-------------------------'
      echo 'All labels:'
      echo '${{ steps.labeler.outputs.all-labels }}'

    The previous step's id is still labeler.

  13. dfandrich commented on Oct 3, 2023

    @dfandrich
    Contributor
  14. onesneakymofo commented on Nov 3, 2023

    @onesneakymofo

    Is there anyway someone can squeeze #688 in to the v5 release please? We title our PRs with [FEATURE], [BUG], [CHORE], etc. and it would be nice to auto-label based off of that so we can automate our release notes. πŸ™

  15. OJFord commented on Nov 22, 2023

    @OJFord

    @MaksimZhukov May I second that dot: true by default would be good - afaict the only reason to add it default false was to avoid it being a breaking change, so why not break now with the v5?

    I can't think of any reason someone would want not to match dotfiles on path specs that do match them, it's not as if it's something weird & controversial like an 'implied dot' where '^foobar$' matches both 'foobar' and '.foobar'. It's just a random gotcha.

  16. MaksimZhukov commented on Dec 5, 2023

    @MaksimZhukov
    ContributorAuthor

    Hello everyone!
    We have released the new major version of the action. In the new version, dot input is set to true by default. It also contains a bunch of other important changes. Please read the action documentation to find out how to adapt your configuration files and workflows for use with the new action version.

    Thank you all for your feedback and patience! We really appreciate this!
    Do not hesitate to contact us if you have any questions!

  17. unpinned this issue on Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions