Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
df79a87
feat: inf-23258 integrate new release drafter
jmpalomares Mar 26, 2025
64eb66b
feat: inf-23258 integrate new release drafter
jmpalomares Mar 26, 2025
3638460
feat: inf-23258 integrate new release drafter
jmpalomares Mar 26, 2025
5310b62
feat: inf-23258 integrate new release drafter
jmpalomares Mar 26, 2025
f9c3ac2
feat: inf-2368 adding conditional for config and step to create it
jmpalomares Mar 28, 2025
6d7d8b7
feat: inf-2368 adding conditional for config and step to create it
jmpalomares Mar 28, 2025
dd81b1f
feat: inf-2368 adding conditional for config and step to create it
jmpalomares Mar 28, 2025
9436c0a
feat: inf-23258 integrate new release drafter
jmpalomares Mar 28, 2025
a546cd9
feat: inf-23258 integrate new release drafter
jmpalomares Mar 28, 2025
f8cd4e0
feat: inf-23258 integrate new release drafter
jmpalomares Mar 28, 2025
75274b2
feat: inf-23258 integrate new release drafter
jmpalomares Mar 28, 2025
40868fa
feat: running prettier
jmpalomares Mar 28, 2025
46c1a81
feat: inf-23258 integrate new release drafter
jmpalomares Mar 28, 2025
e5d8bf5
feat: inf-23258 integrate new release drafter
jmpalomares Mar 28, 2025
e673ed6
feat: inf-23258 integrate new release drafter
jmpalomares Mar 28, 2025
1af4e26
feat: inf-23258 integrate new release drafter
jmpalomares Mar 28, 2025
0d4c633
feat: inf-23258 integrate new release drafter
jmpalomares Mar 28, 2025
d787db2
feat: inf-23258 integrate new release drafter
jmpalomares Mar 28, 2025
bdeb4ae
feat: inf-23258 integrate new release drafter
jmpalomares Mar 28, 2025
ee8fdb5
feat: inf-23258 adding configuration on the fly
jmpalomares Mar 31, 2025
8b4af2a
feat: inf-23258 adding configuration on the fly
jmpalomares Mar 31, 2025
6a032f2
feat: inf-23258 adding configuration on the fly
jmpalomares Mar 31, 2025
ea0b943
feat: inf-23258 adding configuration on the fly
jmpalomares Mar 31, 2025
1cc024f
feat: inf-23258 adding configuration on the fly
jmpalomares Mar 31, 2025
845a33b
feat: inf-23258 adding configuration on the fly
jmpalomares Mar 31, 2025
ec6f606
feat: inf-23258 adding configuration on the fly
jmpalomares Mar 31, 2025
2845543
test: inf-2328 removing the creation of the config on the fly
jmpalomares Apr 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
template: |
$CHANGES
categories:
- title: "🚀 Features"
labels:
- enhancement
- title: "🐛 Bug Fixes"
labels:
- bug
- title: "🧹 Chores"
labels:
- chore
tag-template: "v$NEXT_PATCH_VERSION"
name-template: "Release v$NEXT_PATCH_VERSION"
change-template: "- $TITLE (#$NUMBER) @$AUTHOR"
no-changes-template: "* No changes"
autolabeler:
- label: enhancement
title:
- "/^feat/"
- label: bug
title:
- "/^fix/"
- label: chore
title:
- "/^chore/"
11 changes: 0 additions & 11 deletions .github/release-wizard.md

This file was deleted.

79 changes: 56 additions & 23 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,36 +1,60 @@
name: Reusable Release
name: Reusable Release Drafter
on:
workflow_call:
inputs:
draft:
runner:
required: false
description: Runner type
default: ubuntu-latest
type: string
configName:
required: false
description: The path within the .github/ folder for the release drafter configuration
type: string
name:
required: false
description: The name that will be used in the GitHub release that's created or updated. This will override any name-template specified in your release-drafter.yml if defined.
type: string
tag:
required: false
description: The tag name to be associated with the GitHub release that's created or updated. This will override any tag-template specified in your release-drafter.yml if defined.
type: string
version:
required: false
description: The version to be associated with the GitHub release that's created or updated. This will override any version calculated by the release-drafter.
type: string
publish:
required: false
description: Defines if the release is a draft (not published directly). Defaults to true
default: true
description: A boolean indicating whether the release being created or updated should be immediately published. This may be useful if the output of a previous workflow step determines that a new version of your project has been (or will be) released, as with salsify/action-detect-and-tag-new-version.
type: boolean
prerelease:
required: false
description: Defines if the release to create is a prerelease. Defaults to false
description: A boolean indicating whether the release being created or updated is a prerelease.
type: boolean
prerelease-identifier:
required: false
description: A string indicating an identifier (alpha, beta, rc, etc), to increment the prerelease version. number
type: string
disable-releaser:
required: false
description: A boolean indicating whether the releaser mode is disabled.
default: false
type: boolean
runner:
latest:
required: false
description: Runner type
default: ubuntu-latest
description: A string indicating whether the release being created or updated should be marked as latest.
type: string
targetBranch:
commitish:
required: false
description: The target branch for the release being created
default: main
description: A string specifying the target branch for the release being created.
type: string
taskPrefix:
header:
required: false
description: The prefix that identifies task ids in the commits
default: JIR-
description: A string that would be added before the template body.
type: string
templatePath:
footer:
required: false
description: The path within the .github/ folder for the release drafter configuration
default: release-wizard.md
description: A string that would be added after the template body.
type: string
secrets:
repoAccessToken:
Expand All @@ -40,11 +64,20 @@ jobs:
release:
runs-on: ${{ inputs.runner }}
steps:
- name: Create Github release
uses: darioblanco/release-wizard@v2.0.4
- name: Create/Update Release Draft
uses: release-drafter/release-drafter@v6
with:
draft: ${{ inputs.draft }}
config-name: "release-drafter.yml"
name: ${{ inputs.name }}
tag: ${{ inputs.tag }}
version: ${{ inputs.version }}
publish: ${{ inputs.publish }}
prerelease: ${{ inputs.prerelease }}
taskPrefix: ${{ inputs.taskPrefix }}
token: ${{ secrets.repoAccessToken }}
templatePath: ${{ inputs.templatePath }}
prerelease-identifier: ${{ inputs.prerelease-identifier }}
disable-releaser: ${{ inputs.disable-releaser }}
latest: ${{ inputs.latest }}
commitish: ${{ inputs.commitish }}
header: ${{ inputs.header }}
footer: ${{ inputs.footer }}
env:
GITHUB_TOKEN: ${{ secrets.repoAccessToken }}