Skip to content

Mirror template-action#129: remove redundant buildx install flag, add workflow_dispatch to release workflow#135

Merged
ChristophShyper merged 2 commits intomasterfrom
copilot/update-template-action-similarly
Feb 23, 2026
Merged

Mirror template-action#129: remove redundant buildx install flag, add workflow_dispatch to release workflow#135
ChristophShyper merged 2 commits intomasterfrom
copilot/update-template-action-similarly

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 23, 2026

Mirrors fixes from devops-infra/template-action#129.

Taskfile.cicd.yml

  • Removed internal: true from version:tag-release so it can be invoked directly from workflows

Workflow: docker/setup-buildx-action@v3 (auto-create-pull-request.yml, auto-create-release.yml, cron-check-dependencies.yml)

  • Dropped with: install: true — redundant with current action defaults

auto-create-release.yml

  • Added workflow_dispatch trigger
  • Updated job if: to pass on manual dispatch alongside merged release PRs
  • Create and push git tags step now checks for an existing remote tag before tagging; skips gracefully on workflow_dispatch, hard-fails on automated runs:
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 template action based on recent changes Mirror template-action#129: remove redundant buildx install flag, add workflow_dispatch to release workflow Feb 23, 2026
@ChristophShyper ChristophShyper marked this pull request as ready for review February 23, 2026 21:36
@ChristophShyper ChristophShyper self-requested a review as a code owner February 23, 2026 21:36
Copilot AI review requested due to automatic review settings February 23, 2026 21:36
@ChristophShyper ChristophShyper requested a review from a team as a code owner February 23, 2026 21:36
Copy link
Copy Markdown

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

This pull request mirrors fixes from devops-infra/template-action#129, focusing on workflow improvements and cleanup. It removes redundant Docker Buildx configuration, enables manual triggering of the release workflow, and adds logic to gracefully handle existing tags when manually re-running releases.

Changes:

  • Removed redundant install: true parameter from docker/setup-buildx-action@v3 across all workflows (defaults to true in v3)
  • Added workflow_dispatch trigger to release workflow with conditional tag handling
  • Removed internal: true from version:tag-release task to allow direct workflow invocation

Reviewed changes

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

File Description
Taskfile.cicd.yml Removed internal: true from version:tag-release task to enable direct invocation from workflows
.github/workflows/cron-check-dependencies.yml Removed redundant install: true from Docker Buildx setup
.github/workflows/auto-create-release.yml Added workflow_dispatch trigger, updated job condition, and added tag existence check with graceful handling for manual runs
.github/workflows/auto-create-pull-request.yml Removed redundant install: true from Docker Buildx setup

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

Comment thread .github/workflows/auto-create-release.yml
@ChristophShyper ChristophShyper merged commit fd7eef4 into master Feb 23, 2026
7 checks passed
@ChristophShyper ChristophShyper deleted the copilot/update-template-action-similarly branch February 23, 2026 21:43
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