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

Closed
victoralfaro-dotcms opened this issue Aug 17, 2023 · 4 comments · Fixed by #30687
Closed

Create Github Action to update issues with labels #25818

victoralfaro-dotcms opened this issue Aug 17, 2023 · 4 comments · Fixed by #30687

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 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.

Copy link

github-actions bot commented Nov 16, 2024

@victoralfaro-dotcms victoralfaro-dotcms moved this from In Progress to In Review in dotCMS - Product Planning Nov 16, 2024
github-merge-queue bot pushed a commit that referenced this issue Nov 20, 2024
)

According to @bryanboza 's requirements at release time the `Next
Release` label should be renamed to the release version one and a new
`Next Release` label should be created.
@john-thomas-dotcms john-thomas-dotcms moved this from In Review to Done in dotCMS - Product Planning Nov 27, 2024
@bryanboza
Copy link
Member

This is now working, but we need to set the label color to #fbca04 to maintain a consistent format across all releases.

Also, the label should be "Release : 24.11.29" we are currently missing the :

@bryanboza bryanboza moved this from Done to QA - Rejected in dotCMS - Product Planning Nov 29, 2024
@dsilvam dsilvam moved this from QA - Rejected to In Review in dotCMS - Product Planning Nov 29, 2024
@victoralfaro-dotcms victoralfaro-dotcms moved this from In Review to QA - Backlog in dotCMS - Product Planning Dec 5, 2024
@dsilvam dsilvam moved this from QA - Backlog to Done in dotCMS - Product Planning Dec 11, 2024
@dsilvam dsilvam closed this as completed Dec 11, 2024
@github-project-automation github-project-automation bot moved this from Done to Internal QA in dotCMS - Product Planning Dec 11, 2024
@dsilvam dsilvam moved this from Internal QA to Done in dotCMS - Product Planning Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants