Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Github Action to update issues with labels #25818

Open
victoralfaro-dotcms opened this issue Aug 17, 2023 · 2 comments
Open

Create Github Action to update issues with labels #25818

victoralfaro-dotcms opened this issue Aug 17, 2023 · 2 comments

Comments

@victoralfaro-dotcms
Copy link
Contributor

victoralfaro-dotcms commented Aug 17, 2023

User Story

As a dev-ops, I want to create a GitHub Action to be utilized in the third job of dotCMS core release-process workflow. This action should accept the following inputs:

  • A mandatory GitHub issue label to be removed from its usage in issues.
  • An optional GitHub issue label to be added to previously affected issues.

Acceptance Criteria

  • The GitHub Action is successfully integrated into the third job of the dotCMS core release-process workflow.
  • The action accepts a required input for a GitHub issue label to be removed.
  • The action optionally accepts an input for a GitHub issue label to be added.
  • When the action is triggered, it removes the specified label from associated issues.
  • If provided, the action adds the optional label to previously affected issues.

dotCMS Version

master

Proposed Objective

Enhance the release process by automating the removal and potential addition of GitHub issue labels during the workflow.

Proposed Priority

Priority 2 - Important

External Links

Assumptions & Initiation Needs

  • The GitHub Action should be written using appropriate scripting language (e.g., YAML, Bash, Python).
  • Access to the dotCMS repository and GitHub Actions configuration is required.
  • The action will leverage GitHub API for label manipulation.

Quality Assurance Notes & Workarounds

  • Comprehensive testing should be performed on a sample release to ensure proper label removal and addition.
  • Ensure that the action is well-documented and commented for future maintenance.
@victoralfaro-dotcms victoralfaro-dotcms self-assigned this Aug 17, 2023
@victoralfaro-dotcms victoralfaro-dotcms moved this from New to In Progress in dotCMS - Product Planning Aug 17, 2023
victoralfaro-dotcms added a commit that referenced this issue Aug 18, 2023
…ues involved in release

Introducing release steps to remove label from issues with 'Next Release' and 'Release yy.mm.dd' label to such.

Refs: #25818
victoralfaro-dotcms added a commit that referenced this issue Aug 18, 2023
…ues involved in release

Introducing release steps to remove label from issues with 'Next Release' and 'Release yy.mm.dd' label to such.

Refs: #25818
victoralfaro-dotcms added a commit that referenced this issue Aug 18, 2023
…ues involved in release

Introducing release steps to remove label from issues with 'Next Release' and 'Release yy.mm.dd' label to such.

Refs: #25818
victoralfaro-dotcms added a commit that referenced this issue Aug 18, 2023
…ues involved in release

Introducing release steps to remove label from issues with 'Next Release' and 'Release yy.mm.dd' label to such.

Refs: #25818
victoralfaro-dotcms added a commit that referenced this issue Aug 19, 2023
…ues involved in release

Introducing release steps to remove label from issues with 'Next Release' and 'Release yy.mm.dd' label to such.

Refs: #25818
victoralfaro-dotcms added a commit that referenced this issue Aug 19, 2023
…ues involved in release

Introducing release steps to remove label from issues with 'Next Release' and 'Release yy.mm.dd' label to such.

Refs: #25818
victoralfaro-dotcms added a commit that referenced this issue Aug 21, 2023
…ues involved in release

Introducing release steps to remove label from issues with 'Next Release' and 'Release yy.mm.dd' label to such.

Refs: #25818
@victoralfaro-dotcms
Copy link
Contributor Author

PR: #25834

@victoralfaro-dotcms victoralfaro-dotcms moved this from In Progress to In Review in dotCMS - Product Planning Aug 21, 2023
@victoralfaro-dotcms victoralfaro-dotcms moved this from In Review to Done in dotCMS - Product Planning Aug 21, 2023
victoralfaro-dotcms added a commit that referenced this issue Oct 3, 2023
…ues involved in release

Introducing release steps to remove label from issues with 'Next Release' and 'Release yy.mm.dd' label to such.

Refs: #25818
victoralfaro-dotcms added a commit that referenced this issue Oct 3, 2023
…ues involved in release

Introducing release steps to remove label from issues with 'Next Release' and 'Release yy.mm.dd' label to such.

Refs: #25818
github-merge-queue bot pushed a commit that referenced this issue Oct 3, 2023
…ues involved in release (#25834)

Introducing release steps to remove label from issues with 'Next Release' and 'Release yy.mm.dd' label to such.

Refs: #25818
@dsilvam dsilvam added Merged and removed Triage labels Oct 3, 2023
@dsilvam dsilvam moved this from Done to Internal QA in dotCMS - Product Planning Oct 3, 2023
@dsilvam dsilvam moved this from Internal QA to QA - Backlog in dotCMS - Product Planning Oct 27, 2023
@dsilvam dsilvam moved this from QA - Backlog to Done in dotCMS - Product Planning Oct 27, 2023
@bryanboza bryanboza moved this from Done to New in dotCMS - Product Planning Oct 15, 2024
@dsilvam dsilvam moved this from New to Next 1-3 Sprints in dotCMS - Product Planning Nov 14, 2024
@dsilvam dsilvam moved this from Next 1-3 Sprints to Current Sprint Backlog in dotCMS - Product Planning Nov 14, 2024
@bryanboza
Copy link
Member

bryanboza commented Nov 14, 2024

Here’s the idea for improving our release labeling process:

Currently, when an issue is passed, we add the next release and QA approved labels. When it’s time to release, we manually rename next release to the specific version label (e.g., “Release xx.xx”) and then create a new next release label. This ensures that all release cards are correctly tagged with the corresponding release label.

For automation, we could either take all cards with the next release label, add a new custom label with the provided $release_name, and remove the next release label, or follow the same approach we currently use: rename the label and create a new one.

The goal is to automate this process so these label changes happen automatically when the release is triggered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Current Sprint Backlog
Development

No branches or pull requests

3 participants