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

MARP-1053 Update release drafter and publisher workflows for branch master #88

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
36 changes: 36 additions & 0 deletions .github/workflows/publish-release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Publish Release Drafter

on:
workflow_run:
workflows: ["Release-Build"]
types:
- completed

jobs:
publish_release_drafter:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: axonivy-market/github-workflows/.github/workflows/publish-release-drafter.yml@v5
# The following input parameters are available:
#
# - tag: (optional) Specifies the release tag (e.g., 'v10.0.0').
# If not provided, the most recent tag in the repository will be used by default.
# This ensures the workflow runs without requiring explicit tag input.
#
# - commitish: (optional) Indicates the branch name for the release.
# If not provided, it defaults to 'master'. For versioned releases,
# the workflow automatically checks for a corresponding branch
# (e.g., 'release/10.0' for version 10.0) and uses it if available.
# This allows the workflow to execute with default branch behavior.
#
# - publish: (optional) Controls whether the release is published automatically.
# Defaults to 'true'. Set to 'false' to create a draft release
# without immediate publication.
#
# Note: Both 'tag' and 'commitish' are configured to run with sensible defaults,
# so manual input is not required unless custom values are needed.
#
# Uncomment and modify the inputs as needed:
# with:
# tag: v10.0.0
# commitish: release/10.0
# publish: false
18 changes: 0 additions & 18 deletions .github/workflows/publish-release.yml

This file was deleted.

9 changes: 3 additions & 6 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ on:
push:
branches:
- master
- release/*
pull_request:
types: [opened, reopened, synchronize]

permissions:
contents: write
pull-requests: write

jobs:
build:
uses: axonivy-market/github-workflows/.github/workflows/release-drafter.yml@v4
release_drafter:
uses: axonivy-market/github-workflows/.github/workflows/release-drafter.yml@v5
Loading