Skip to content

Fix GitTools/actions workflow error - use composite action paths#1

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/fix-gittools-action-error
Draft

Fix GitTools/actions workflow error - use composite action paths#1
Copilot wants to merge 2 commits intomasterfrom
copilot/fix-gittools-action-error

Conversation

Copy link
Copy Markdown

Copilot AI commented Jan 27, 2026

GitHub Actions workflow failed with "Can't find 'action.yml'" for GitTools/actions/gitversion@v0.9.14. The GitTools/actions repository requires referencing specific composite action subdirectories rather than the root path.

Changes

  • Split GitVersion into two steps: gitversion/setup and gitversion/execute
  • Specified GitVersion 5.x in setup step

Before:

- name: Calculate semantic version (GitVersion)
  uses: GitTools/actions/gitversion@v0.9.14
  id: gitversion

After:

- name: Install GitVersion
  uses: gittools/actions/gitversion/setup@v0.9.14
  with:
    versionSpec: '5.x'

- name: Calculate semantic version (GitVersion)
  uses: gittools/actions/gitversion/execute@v0.9.14
  id: gitversion
Original prompt

fix Skip to content
punkouter26
PoSeeReview
Repository navigation
Code
Issues
Pull requests
Agents
Actions
Projects
Wiki
Security
Insights
Settings
Build and Deploy to Azure Container Apps
Build and Deploy to Azure Container Apps #23
All jobs
Run details
Annotations
1 error
build-and-deploy
failed now in 6s
Search logs
4s
Current runner version: '2.331.0'
Runner Image Provisioner
Operating System
Runner Image
GITHUB_TOKEN Permissions
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v4' (SHA:34e114876b0b11c390a56381ad16ebd13914f8d5)
Download action repository 'azure/login@v2' (SHA:a457da9ea143d694b1b9c7c869ebb04ebe844ef5)
Download action repository 'GitTools/actions@v0.9.14' (SHA:62b9d7555ad5e7a8e68cd2d3cf25a5e8295068ad)
Error: Can't find 'action.yml', 'action.yaml' or 'Dockerfile' for action 'GitTools/actions/gitversion@v0.9.14'.


💡 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.

… paths

Co-authored-by: punkouter26 <121304072+punkouter26@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix error with GitTools action during build and deploy Fix GitTools/actions workflow error - use composite action paths Jan 27, 2026
Copilot AI requested a review from punkouter26 January 27, 2026 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants