Skip to content

Commit

Permalink
ci(release): adding steps to automated release process to relabel iss…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
victoralfaro-dotcms committed Aug 18, 2023
1 parent 48e537d commit 774c8ae
Show file tree
Hide file tree
Showing 13 changed files with 51,917 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .github/actions/issue-fetcher/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dist/
lib/
node_modules/
src/@types/
17 changes: 17 additions & 0 deletions .github/actions/issue-fetcher/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"plugins": ["@typescript-eslint", "github", "jest"],
"extends": ["plugin:github/typescript"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module",
"project": "./tsconfig.json"
},
"rules": {
},
"env": {
"node": true,
"es6": true,
"jest/globals": true
}
}
23 changes: 23 additions & 0 deletions .github/actions/issue-fetcher/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# action.yml
name: 'Issue Fetcher'
description: 'Fetches issues from a repository'
author: 'victoralfaro-dotcms'
inputs:
fetch_operation:
description: 'Operation to perform on how to get the issues'
type: choice
options:
- WITH_LABELS
required: true
fetch_value:
description: 'Value to use to fetch the issues'
required: true
github_token:
description: 'Github token'
required: true
outputs:
issues:
description: 'Fetched issues'
runs:
using: 'node16'
main: 'dist/index.js'
Loading

0 comments on commit 774c8ae

Please sign in to comment.