Skip to content

Mirror template-action PR #129: fix buildx install flag and add manual release dispatch#201

Merged
ChristophShyper merged 2 commits intomasterfrom
copilot/update-similar-changes-129
Feb 23, 2026
Merged

Mirror template-action PR #129: fix buildx install flag and add manual release dispatch#201
ChristophShyper merged 2 commits intomasterfrom
copilot/update-similar-changes-129

Conversation

Copy link
Contributor

Copilot AI commented Feb 23, 2026

Applies the same fixes from devops-infra/template-action#129 to this repo.

Buildx cleanup (auto-create-pull-request.yml, auto-create-release.yml, cron-check-dependencies.yml)

  • Removed with: install: true from docker/setup-buildx-action@v3 — redundant since it became the default

Taskfile.cicd.yml

  • Removed internal: true from version:tag-release to allow direct invocation from workflows

Release workflow (auto-create-release.yml)

  • Added workflow_dispatch trigger
  • Updated job if: to allow manual runs alongside merged release PRs
  • Reworked tag creation to check for duplicate tags before pushing; skips gracefully on manual dispatch, hard-fails on automation:
full_remote_sha="$(git ls-remote --tags origin "refs/tags/${REL_VERSION}" 2>/dev/null | awk '{print $1}' || true)"
if [ -n "${full_remote_sha}" ]; then
  if [ "${GITHUB_EVENT_NAME}" = "workflow_dispatch" ]; then
    echo "ℹ️ INFO: Full tag '${REL_VERSION}' already exists; skipping tag creation."
  else
    echo "❌ ERROR: Full tag '${REL_VERSION}' already exists; aborting" >&2
    exit 1
  fi
else
  task version:tag-release
fi

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…elease workflow

Co-authored-by: ChristophShyper <45788587+ChristophShyper@users.noreply.github.com>
Copilot AI changed the title [WIP] Update repository with changes from pull request 129 Mirror template-action PR #129: fix buildx install flag and add manual release dispatch Feb 23, 2026
@ChristophShyper ChristophShyper marked this pull request as ready for review February 23, 2026 21:29
@ChristophShyper ChristophShyper requested a review from a team as a code owner February 23, 2026 21:29
Copilot AI review requested due to automatic review settings February 23, 2026 21:29
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Mirrors upstream template-action PR fixes by simplifying Buildx setup, enabling manual release execution, and allowing workflows to invoke the release tagging task directly.

Changes:

  • Removed redundant install: true from docker/setup-buildx-action@v3 across workflows.
  • Enabled manual release runs by adding workflow_dispatch and updating release job gating + tag creation behavior.
  • Made version:tag-release callable from workflows by removing internal: true.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
Taskfile.cicd.yml Makes version:tag-release invokable from workflows (not internal-only).
.github/workflows/cron-check-dependencies.yml Simplifies Buildx setup by dropping redundant install input.
.github/workflows/auto-create-release.yml Adds manual dispatch support, adjusts job if:, and avoids failing manual runs when a full tag already exists.
.github/workflows/auto-create-pull-request.yml Simplifies Buildx setup by dropping redundant install input.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ChristophShyper ChristophShyper merged commit 2bcd95d into master Feb 23, 2026
7 checks passed
@ChristophShyper ChristophShyper deleted the copilot/update-similar-changes-129 branch February 23, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants