core icon indicating copy to clipboard operation
core copied to clipboard

Create Github Action to update issues with labels

Open victoralfaro-dotcms opened this issue 1 year ago • 1 comments

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 avatar Aug 17 '23 21:08 victoralfaro-dotcms